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
f8f418d8
Commit
f8f418d8
authored
Sep 08, 1993
by
Roland McGrath
Browse files
(ange-ftp-file-executable-p): New function, handles file-executable-p.
parent
e3e87be8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
lisp/ange-ftp.el
lisp/ange-ftp.el
+11
-1
No files found.
lisp/ange-ftp.el
View file @
f8f418d8
...
...
@@ -856,7 +856,7 @@ SIZE, if supplied, should be a prime number."
;;;; Internal variables.
;;;; ------------------------------------------------------------
(defconst ange-ftp-version "$Revision: 1.3
1
$")
(
defconst
ange-ftp-version
"$Revision: 1.3
2
$"
)
(
defvar
ange-ftp-data-buffer-name
" *ftp data*"
"Buffer name to hold directory listing data received from ftp process."
)
...
...
@@ -3081,6 +3081,12 @@ system TYPE.")
(
file-exists-p
file
)
(
ange-ftp-real-file-readable-p
file
)))
(
defun
ange-ftp-file-executable-p
(
file
)
(
setq
file
(
expand-file-name
file
))
(
if
(
ange-ftp-ftp-name
file
)
(
file-exists-p
file
)
(
ange-ftp-real-file-executable-p
file
)))
(
defun
ange-ftp-delete-file
(
file
)
(
interactive
"fDelete file: "
)
(
setq
file
(
expand-file-name
file
))
...
...
@@ -3788,6 +3794,7 @@ NEWNAME should be the name to give the new compressed or uncompressed file.")
(
put
'file-directory-p
'ange-ftp
'ange-ftp-file-directory-p
)
(
put
'file-writable-p
'ange-ftp
'ange-ftp-file-writable-p
)
(
put
'file-readable-p
'ange-ftp
'ange-ftp-file-readable-p
)
(
put
'file-executable-p
'ange-ftp
'ange-ftp-file-executable-p
)
(
put
'file-symlink-p
'ange-ftp
'ange-ftp-file-symlink-p
)
(
put
'delete-file
'ange-ftp
'ange-ftp-delete-file
)
(
put
'read-file-name-internal
'ange-ftp
'ange-ftp-read-file-name-internal
)
...
...
@@ -3857,6 +3864,9 @@ NEWNAME should be the name to give the new compressed or uncompressed file.")
(
defun
ange-ftp-real-file-readable-p
(
&rest
args
)
(
let
(
file-name-handler-alist
)
(
apply
'file-readable-p
args
)))
(
defun
ange-ftp-real-file-executable-p
(
&rest
args
)
(
let
(
file-name-handler-alist
)
(
apply
'file-executable-p
args
)))
(
defun
ange-ftp-real-file-symlink-p
(
&rest
args
)
(
let
(
file-name-handler-alist
)
(
apply
'file-symlink-p
args
)))
...
...
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