1
Fork 0
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:
John Wiegley 2000-08-29 00:47:45 +00:00
parent b4bd214e74
commit ca7aae916b
19 changed files with 348 additions and 178 deletions

View file

@ -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"))