emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 44f6a2b: Tweak completion of Makefile targets


From: Lars Ingebrigtsen
Subject: master 44f6a2b: Tweak completion of Makefile targets
Date: Fri, 21 Aug 2020 06:45:05 -0400 (EDT)

branch: master
commit 44f6a2bba28a0b341a082a8167b3f9d2bd894340
Author: Gregory Heytings <ghe@sdf.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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
---
 lisp/pcmpl-gnu.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/pcmpl-gnu.el b/lisp/pcmpl-gnu.el
index 098aa3d..d7c5b38 100644
--- 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]