diff options
author | Kim F. Storm <storm@cua.dk> | 2006-05-02 08:50:59 +0000 |
---|---|---|
committer | Kim F. Storm <storm@cua.dk> | 2006-05-02 08:50:59 +0000 |
commit | 41a2f8bab50e0ccecf410910c445bce1e281876c (patch) | |
tree | 4e689cb53aca003844cb1713332351876220363c /lisp/progmodes/grep.el | |
parent | 6cf93749317c2e18f850cd0f47f905895e850bfc (diff) | |
download | emacs-41a2f8bab50e0ccecf410910c445bce1e281876c.tar.gz emacs-41a2f8bab50e0ccecf410910c445bce1e281876c.tar.bz2 emacs-41a2f8bab50e0ccecf410910c445bce1e281876c.zip |
(grep-expand-template): Use symbol-value instead of eval on symbols.
Diffstat (limited to 'lisp/progmodes/grep.el')
-rw-r--r-- | lisp/progmodes/grep.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el index 0aba9d42b84..c695272e92b 100644 --- a/lisp/progmodes/grep.el +++ b/lisp/progmodes/grep.el @@ -584,7 +584,7 @@ substitution string. Note dynamic scoping of variables.") (setq command (replace-match (or (if (symbolp (cdr kw)) - (eval (cdr kw)) + (symbol-value (cdr kw)) (save-match-data (eval (cdr kw)))) "") t t command)))))) |