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
bb671f9e
Commit
bb671f9e
authored
Feb 25, 2002
by
Kim F. Storm
Browse files
(comint-replace-by-expanded-filename): Do nothing if
comint-match-partial-filename returns nil.
parent
86078cf0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
lisp/ChangeLog
lisp/ChangeLog
+9
-0
lisp/comint.el
lisp/comint.el
+4
-2
No files found.
lisp/ChangeLog
View file @
bb671f9e
2002-02-25 Kim F. Storm <no-spam@cua.dk>
* comint.el (comint-replace-by-expanded-filename): Do nothing if
comint-match-partial-filename returns nil.
* shell.el (shell-pcomplete-setup-done): New variable.
(shell-pcomplete): Use it instead of shell-pcomplete-setup-p.
(shell-pcomplete-reverse): Ditto.
2002-02-25 Per Abrahamsen <abraham@dina.kvl.dk>
* ps-print.el (ps-print-printer): Added `lpr' customize group
...
...
lisp/comint.el
View file @
bb671f9e
...
...
@@ -2756,8 +2756,10 @@ removed, and the filename is made absolute instead of relative. For expansion
see
`
expand-file-name
'
and
`
substitute-in-file-name
'.
For
completion
see
`
comint-dynamic-complete-filename
'.
"
(interactive)
(replace-match (expand-file-name (comint-match-partial-filename)) t t)
(comint-dynamic-complete-filename))
(let ((filename (comint-match-partial-filename)))
(when filename
(replace-match (expand-file-name filename) t t)
(comint-dynamic-complete-filename))))
(defun comint-dynamic-simple-complete (stub candidates)
...
...
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