aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/grep.el
diff options
context:
space:
mode:
authorKim F. Storm <[email protected]>2006-05-02 08:50:59 +0000
committerKim F. Storm <[email protected]>2006-05-02 08:50:59 +0000
commit41a2f8bab50e0ccecf410910c445bce1e281876c (patch)
tree4e689cb53aca003844cb1713332351876220363c /lisp/progmodes/grep.el
parent6cf93749317c2e18f850cd0f47f905895e850bfc (diff)
(grep-expand-template): Use symbol-value instead of eval on symbols.
Diffstat (limited to 'lisp/progmodes/grep.el')
-rw-r--r--lisp/progmodes/grep.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el
index 0aba9d42b8..c695272e92 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))))))