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
93fe0a35
Commit
93fe0a35
authored
Jul 20, 1993
by
Richard M. Stallman
Browse files
(ange-ftp-completion-hook-function): New function.
parent
0628c764
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
lisp/files.el
lisp/files.el
+10
-0
No files found.
lisp/files.el
View file @
93fe0a35
...
...
@@ -229,6 +229,16 @@ and ignores this variable.")
(
defalias
'lock-buffer
'ignore
))
(
or
(
fboundp
'unlock-buffer
)
(
defalias
'unlock-buffer
'ignore
))
;; This hook function provides support for ange-ftp host name
;; completion. It runs the usual ange-ftp hook, but only for
;; completion operations. Having this here avoids the need
;; to load ange-ftp when it's not really in use.
(
defun
ange-ftp-completion-hook-function
(
op
&rest
args
)
(
if
(
memq
op
'
(
file-name-completion
file-name-all-completions
))
(
apply
'ange-ftp-hook-function
op
args
)
(
let
(
file-name-handler-alist
)
(
apply
op
args
))))
(
defun
pwd
()
"Show the current 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