diff options
author | lujun9972 <lujun9972@gmail.com> | 2016-04-29 21:38:59 +0800 |
---|---|---|
committer | lujun9972 <lujun9972@gmail.com> | 2016-04-29 21:38:59 +0800 |
commit | f5e0457e88ec87aee7989e99609ec960c435557d (patch) | |
tree | ea98e8fe0f3b23fc62db92a068b8ac68fb05a1cd /s.el | |
parent | 2c461d5ef04b520134d167aafee903d1ffaacdaa (diff) |
use assoc-string instead of assoc
Diffstat (limited to 's.el')
-rw-r--r-- | s.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -333,7 +333,7 @@ This is a simple wrapper around the built-in `string-match-p'." (replace-regexp-in-string (regexp-quote old) new s t t)) (defun s--aget (alist key) - (let ((result (cdr (assoc key alist)))) + (let ((result (cdr (assoc-string key alist)))) (when result (format "%s" result)))) |