mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
See ChangeLog
This commit is contained in:
parent
b4bd214e74
commit
ca7aae916b
19 changed files with 348 additions and 178 deletions
|
|
@ -33,7 +33,7 @@
|
|||
;; User Variables:
|
||||
|
||||
(defcustom pcmpl-gnu-makefile-regexps
|
||||
'("\\`Makefile\\." "\\.mak\\'")
|
||||
'("\\`GNUmakefile" "\\`Makefile" "\\.mak\\'")
|
||||
"*A list of regexps that will match Makefile names."
|
||||
:type '(repeat regexp)
|
||||
:group 'pcmpl-gnu)
|
||||
|
|
@ -111,7 +111,10 @@
|
|||
(defun pcmpl-gnu-make-rule-names ()
|
||||
"Return a list of possible make rule names in MAKEFILE."
|
||||
(let* ((minus-f (member "-f" pcomplete-args))
|
||||
(makefile (or (cadr minus-f) "Makefile"))
|
||||
(makefile (or (cadr minus-f)
|
||||
(if (file-exists-p "GNUmakefile")
|
||||
"GNUmakefile"
|
||||
"Makefile")))
|
||||
rules)
|
||||
(if (not (file-readable-p makefile))
|
||||
(unless minus-f (list "-f"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue