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
8a5782b5
Commit
8a5782b5
authored
Mar 11, 2002
by
Miles Bader
Browse files
(pcomplete-entries): Expand environment variables in filename.
parent
a0db0bbf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/pcomplete.el
lisp/pcomplete.el
+2
-2
No files found.
lisp/ChangeLog
View file @
8a5782b5
2002-03-07 Miles Bader <miles@gnu.org>
* pcomplete.el (pcomplete-entries): Expand environment variables
in filename.
2002-03-10 Daniel Pfeiffer <occitan@esperanto.org>
* play/mpuz.el: Use defface instead of facemenu-get-face.
...
...
lisp/pcomplete.el
View file @
8a5782b5
;;; pcomplete.el --- programmable completion
;; Copyright (C) 1999, 2000, 2001 Free Sofware Foundation
;; Copyright (C) 1999, 2000, 2001
, 2002
Free Sofware Foundation
;; Author: John Wiegley <johnw@gnu.org>
;; Keywords: processes abbrev
...
...
@@ -703,7 +703,7 @@ If PREDICATE is non-nil, it will also be used to refine the match
\(files for which the PREDICATE returns nil will be excluded).
If PATH is non-nil, it will be used for completion instead of
consulting the last argument."
(
let*
((
name
pcomplete-stub
)
(
let*
((
name
(
substitute-env-vars
pcomplete-stub
)
)
(
default-directory
(
expand-file-name
(
or
(
file-name-directory
name
)
default-directory
)))
...
...
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