aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGregory Heytings2020-08-21 12:44:52 +0200
committerLars Ingebrigtsen2020-08-21 12:44:52 +0200
commit44f6a2bba28a0b341a082a8167b3f9d2bd894340 (patch)
treea7afbfb9b06f399545a983f499c49995086042aa
parent178feeec4609e021ae9aa09c673ae19d86529228 (diff)
downloademacs-44f6a2bba28a0b341a082a8167b3f9d2bd894340.tar.gz
emacs-44f6a2bba28a0b341a082a8167b3f9d2bd894340.zip
Tweak completion of Makefile targets
* 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
-rw-r--r--lisp/pcmpl-gnu.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/pcmpl-gnu.el b/lisp/pcmpl-gnu.el
index 098aa3d5fe1..d7c5b381d29 100644
--- a/lisp/pcmpl-gnu.el
+++ b/lisp/pcmpl-gnu.el
@@ -118,7 +118,7 @@
118Return the new list." 118Return the new list."
119 (goto-char (point-min)) 119 (goto-char (point-min))
120 (while (re-search-forward 120 (while (re-search-forward
121 "^\\s-*\\([^\n#%.$][^:=\n]*\\)\\s-*:[^=]" nil t) 121 "^\\([^\t\n#%.$][^:=\n]*\\)\\s-*:[^=]" nil t)
122 (setq targets (nconc (split-string (match-string-no-properties 1)) 122 (setq targets (nconc (split-string (match-string-no-properties 1))
123 targets))) 123 targets)))
124 targets) 124 targets)