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
8e28519a
Commit
8e28519a
authored
Dec 02, 2002
by
Noah Friedman
Browse files
(PC-do-completion): Do not add wildcards to pattern unless filename is
non-nil.
parent
90a7967a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
19 deletions
+25
-19
lisp/ChangeLog
lisp/ChangeLog
+8
-3
lisp/complete.el
lisp/complete.el
+17
-16
No files found.
lisp/ChangeLog
View file @
8e28519a
2002-12-02 Noah Friedman <friedman@splode.com>
* complete.el (PC-do-completion): Do not add wildcards to pattern
unless filename is non-nil.
2002-12-02 Andreas Schwab <schwab@suse.de>
* mwheel.el (mouse-wheel-scroll-amount): Fix customize type.
...
...
lisp/complete.el
View file @
8e28519a
...
...
@@ -392,6 +392,7 @@ of `minibuffer-completion-table' and the minibuffer contents.")
PC-delims-list
(
append
PC-delims
nil
)))
;; Add wildcards if necessary
(
and
filename
(
let
((
dir
(
file-name-directory
str
))
(
file
(
file-name-nondirectory
str
)))
(
while
(
and
(
stringp
dir
)
(
not
(
file-directory-p
dir
)))
...
...
@@ -401,7 +402,7 @@ of `minibuffer-completion-table' and the minibuffer contents.")
(
file-name-nondirectory
dir
))
"*/"
file
))
(
setq
dir
(
file-name-directory
dir
)))
(
setq
str
(
concat
dir
file
)))
(
setq
str
(
concat
dir
file
)))
)
;; Look for wildcard expansions in directory name
(
and
filename
...
...
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