projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d091f7
)
Fix the error message from makefile-move-to-macro
author
Lin Sun
<lin.sun@zoom.us>
Fri, 17 Jan 2020 00:08:54 +0000
(16:08 -0800)
committer
Eli Zaretskii
<eliz@gnu.org>
Fri, 17 Jan 2020 08:15:23 +0000
(10:15 +0200)
* lisp/cedet/ede/makefile-edit.el (makefile-macro-file-list):
regexp-quote the param in makefile-move-to-macro (Bug#39094).
(cherry picked from commit
a36495da1ec1419998c17fd64fb7439eaf940f36
)
lisp/cedet/ede/makefile-edit.el
patch
|
blob
|
history
diff --git
a/lisp/cedet/ede/makefile-edit.el
b/lisp/cedet/ede/makefile-edit.el
index b68d6712bb3e6dcbc7562b8f695134f35e48cf8f..218e75c0a8a4cc09b4c19fa79595cfccacbaa41c 100644
(file)
--- 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)))