changeset 70340:3146cc3b9e56

(grep-expand-template): Use symbol-value instead of eval on symbols.
author Kim F. Storm <storm@cua.dk>
date Tue, 02 May 2006 08:49:59 +0000
parents 24d59f7263b8
children 15ea16ad6a0e
files lisp/progmodes/grep.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/grep.el	Tue May 02 05:25:29 2006 +0000
+++ b/lisp/progmodes/grep.el	Tue May 02 08:49:59 2006 +0000
@@ -584,7 +584,7 @@
 	  (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))))))