projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
178feee
)
Tweak completion of Makefile targets
author
Gregory Heytings
<ghe@sdf.org>
Fri, 21 Aug 2020 10:44:52 +0000
(12:44 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Fri, 21 Aug 2020 10:44:52 +0000
(12:44 +0200)
* lisp/pcmpl-gnu.el (pcmpl-gnu-make-targets): Require that target
names not be preceded by a TAG character (bug#42411).
Copyright-paperwork-exempt: yes
lisp/pcmpl-gnu.el
patch
|
blob
|
history
diff --git
a/lisp/pcmpl-gnu.el
b/lisp/pcmpl-gnu.el
index 098aa3d5fe1598a1f86c2061b7d00317b1fcfed1..d7c5b381d29e95be08bd80ce8419dfe542141374 100644
(file)
--- a/
lisp/pcmpl-gnu.el
+++ b/
lisp/pcmpl-gnu.el
@@
-118,7
+118,7
@@
Return the new list."
(goto-char (point-min))
(while (re-search-forward
-
"^\\s-*\\([^
\n#%.$][^:=\n]*\\)\\s-*:[^=]" nil t)
+
"^\\([^\t
\n#%.$][^:=\n]*\\)\\s-*:[^=]" nil t)
(setq targets (nconc (split-string (match-string-no-properties 1))
targets)))
targets)