Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
56b14058
Commit
56b14058
authored
Oct 22, 2009
by
Stefan Monnier
Browse files
(pcmpl-gnu-makefile-names): Use a single call to pcomplete-entries.
parent
3170b794
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
lisp/ChangeLog
lisp/ChangeLog
+3
-0
lisp/pcmpl-gnu.el
lisp/pcmpl-gnu.el
+1
-6
No files found.
lisp/ChangeLog
View file @
56b14058
2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
* pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
pcomplete-entries.
* comint.el (comint-read-input-ring, comint-write-input-ring)
(comint-substitute-in-file-name)
(comint-dynamic-complete-as-filename)
...
...
lisp/pcmpl-gnu.el
View file @
56b14058
...
...
@@ -102,12 +102,7 @@
(
defun
pcmpl-gnu-makefile-names
()
"Return a list of possible makefile names."
(
let
((
names
(
list
t
))
(
reg
pcmpl-gnu-makefile-regexps
))
(
while
reg
(
nconc
names
(
pcomplete-entries
(
car
reg
)))
(
setq
reg
(
cdr
reg
)))
(
cdr
names
)))
(
pcomplete-entries
(
mapconcat
'identity
pcmpl-gnu-makefile-regexps
"\\|"
)))
(
defun
pcmpl-gnu-make-rule-names
()
"Return a list of possible make rule names in MAKEFILE."
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment