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:
parent
f18c78e611
commit
a36495da1e
1 changed files with 2 additions and 1 deletions
|
@ -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)))
|
||||
|
|
Loading…
Add table
Reference in a new issue