diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/cedet/ede/makefile-edit.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/cedet/ede/makefile-edit.el b/lisp/cedet/ede/makefile-edit.el index b68d6712bb3..218e75c0a8a 100644 --- a/lisp/cedet/ede/makefile-edit.el +++ b/lisp/cedet/ede/makefile-edit.el @@ -78,7 +78,8 @@ If NEXT is non-nil, move to the next occurrence of MACRO." (let ((oldpt (point))) (when (not next) (goto-char (point-min))) - (if (re-search-forward (concat "^\\s-*" macro "\\s-*[+:?]?=") nil t) + (if (re-search-forward (concat "^\\s-*" (regexp-quote macro) "\\s-*[+:?]?=") + nil t) t (goto-char oldpt) nil))) |