Fix the error message from makefile-move-to-macro
* lisp/cedet/ede/makefile-edit.el (makefile-macro-file-list): regexp-quote the param in makefile-move-to-macro (Bug#39094).
This commit is contained in:
@@ -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)))
|
||||
|
||||
Reference in New Issue
Block a user