Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
b421decc
Commit
b421decc
authored
Dec 14, 2012
by
Michael Albinus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Explain, why `tramp-*-file-name-p' is a defsubst.
parent
bb808526
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
0 deletions
+8
-0
lisp/net/tramp-adb.el
lisp/net/tramp-adb.el
+2
-0
lisp/net/tramp-ftp.el
lisp/net/tramp-ftp.el
+2
-0
lisp/net/tramp-gvfs.el
lisp/net/tramp-gvfs.el
+2
-0
lisp/net/tramp-smb.el
lisp/net/tramp-smb.el
+2
-0
No files found.
lisp/net/tramp-adb.el
View file @
b421decc
...
...
@@ -111,6 +111,8 @@
(
start-file-process
.
tramp-adb-handle-start-file-process
))
"Alist of handler functions for Tramp ADB method."
)
;; It must be a `defsubst' in order to push the whole code into
;; tramp-loaddefs.el. Otherwise, there would be recursive autoloading.
;;;###tramp-autoload
(
defsubst
tramp-adb-file-name-p
(
filename
)
"Check if it's a filename for ADB."
...
...
lisp/net/tramp-ftp.el
View file @
b421decc
...
...
@@ -200,6 +200,8 @@ pass to the OPERATION."
(
inhibit-file-name-operation
operation
))
(
apply
'ange-ftp-hook-function
operation
args
)))))))
;; It must be a `defsubst' in order to push the whole code into
;; tramp-loaddefs.el. Otherwise, there would be recursive autoloading.
;;;###tramp-autoload
(
defsubst
tramp-ftp-file-name-p
(
filename
)
"Check if it's a filename that should be forwarded to Ange-FTP."
...
...
lisp/net/tramp-gvfs.el
View file @
b421decc
...
...
@@ -432,6 +432,8 @@ Every entry is a list (NAME ADDRESS).")
"Alist of handler functions for Tramp GVFS method.
Operations not mentioned here will be handled by the default Emacs primitives."
)
;; It must be a `defsubst' in order to push the whole code into
;; tramp-loaddefs.el. Otherwise, there would be recursive autoloading.
;;;###tramp-autoload
(
defsubst
tramp-gvfs-file-name-p
(
filename
)
"Check if it's a filename handled by the GVFS daemon."
...
...
lisp/net/tramp-smb.el
View file @
b421decc
...
...
@@ -265,6 +265,8 @@ This can be used to disable echo etc."
:type
'string
:version
"24.3"
)
;; It must be a `defsubst' in order to push the whole code into
;; tramp-loaddefs.el. Otherwise, there would be recursive autoloading.
;;;###tramp-autoload
(
defsubst
tramp-smb-file-name-p
(
filename
)
"Check if it's a filename for SMB servers."
...
...
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