# HG changeset patch # User Kim F. Storm # Date 1146559799 0 # Node ID 3146cc3b9e56d4ea983123486f8b0d53fa53bd30 # Parent 24d59f7263b8d0456404f4ecc73ad5f686d93c84 (grep-expand-template): Use symbol-value instead of eval on symbols. diff -r 24d59f7263b8 -r 3146cc3b9e56 lisp/progmodes/grep.el --- 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))))))