diff options
| author | Michael Albinus | 2012-12-14 10:02:34 +0100 |
|---|---|---|
| committer | Michael Albinus | 2012-12-14 10:02:34 +0100 |
| commit | b421decc52e07a3c56b2b259321867bc352f5173 (patch) | |
| tree | 1fe62c6f7081d3512e912b0955d1c9d88a27ef94 | |
| parent | bb808526ae2847f1e9aa6559835da2a10545a273 (diff) | |
| download | emacs-b421decc52e07a3c56b2b259321867bc352f5173.tar.gz emacs-b421decc52e07a3c56b2b259321867bc352f5173.zip | |
Explain, why `tramp-*-file-name-p' is a defsubst.
| -rw-r--r-- | lisp/net/tramp-adb.el | 2 | ||||
| -rw-r--r-- | lisp/net/tramp-ftp.el | 2 | ||||
| -rw-r--r-- | lisp/net/tramp-gvfs.el | 2 | ||||
| -rw-r--r-- | lisp/net/tramp-smb.el | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/lisp/net/tramp-adb.el b/lisp/net/tramp-adb.el index 5d13d56f638..d34980fe22e 100644 --- a/lisp/net/tramp-adb.el +++ b/lisp/net/tramp-adb.el | |||
| @@ -111,6 +111,8 @@ | |||
| 111 | (start-file-process . tramp-adb-handle-start-file-process)) | 111 | (start-file-process . tramp-adb-handle-start-file-process)) |
| 112 | "Alist of handler functions for Tramp ADB method.") | 112 | "Alist of handler functions for Tramp ADB method.") |
| 113 | 113 | ||
| 114 | ;; It must be a `defsubst' in order to push the whole code into | ||
| 115 | ;; tramp-loaddefs.el. Otherwise, there would be recursive autoloading. | ||
| 114 | ;;;###tramp-autoload | 116 | ;;;###tramp-autoload |
| 115 | (defsubst tramp-adb-file-name-p (filename) | 117 | (defsubst tramp-adb-file-name-p (filename) |
| 116 | "Check if it's a filename for ADB." | 118 | "Check if it's a filename for ADB." |
diff --git a/lisp/net/tramp-ftp.el b/lisp/net/tramp-ftp.el index 44ae176c6c9..77e36292ef9 100644 --- a/lisp/net/tramp-ftp.el +++ b/lisp/net/tramp-ftp.el | |||
| @@ -200,6 +200,8 @@ pass to the OPERATION." | |||
| 200 | (inhibit-file-name-operation operation)) | 200 | (inhibit-file-name-operation operation)) |
| 201 | (apply 'ange-ftp-hook-function operation args))))))) | 201 | (apply 'ange-ftp-hook-function operation args))))))) |
| 202 | 202 | ||
| 203 | ;; It must be a `defsubst' in order to push the whole code into | ||
| 204 | ;; tramp-loaddefs.el. Otherwise, there would be recursive autoloading. | ||
| 203 | ;;;###tramp-autoload | 205 | ;;;###tramp-autoload |
| 204 | (defsubst tramp-ftp-file-name-p (filename) | 206 | (defsubst tramp-ftp-file-name-p (filename) |
| 205 | "Check if it's a filename that should be forwarded to Ange-FTP." | 207 | "Check if it's a filename that should be forwarded to Ange-FTP." |
diff --git a/lisp/net/tramp-gvfs.el b/lisp/net/tramp-gvfs.el index a4b2e0fccff..1467aede2c3 100644 --- a/lisp/net/tramp-gvfs.el +++ b/lisp/net/tramp-gvfs.el | |||
| @@ -432,6 +432,8 @@ Every entry is a list (NAME ADDRESS).") | |||
| 432 | "Alist of handler functions for Tramp GVFS method. | 432 | "Alist of handler functions for Tramp GVFS method. |
| 433 | Operations not mentioned here will be handled by the default Emacs primitives.") | 433 | Operations not mentioned here will be handled by the default Emacs primitives.") |
| 434 | 434 | ||
| 435 | ;; It must be a `defsubst' in order to push the whole code into | ||
| 436 | ;; tramp-loaddefs.el. Otherwise, there would be recursive autoloading. | ||
| 435 | ;;;###tramp-autoload | 437 | ;;;###tramp-autoload |
| 436 | (defsubst tramp-gvfs-file-name-p (filename) | 438 | (defsubst tramp-gvfs-file-name-p (filename) |
| 437 | "Check if it's a filename handled by the GVFS daemon." | 439 | "Check if it's a filename handled by the GVFS daemon." |
diff --git a/lisp/net/tramp-smb.el b/lisp/net/tramp-smb.el index f52129919cc..d4386a5374c 100644 --- a/lisp/net/tramp-smb.el +++ b/lisp/net/tramp-smb.el | |||
| @@ -265,6 +265,8 @@ This can be used to disable echo etc." | |||
| 265 | :type 'string | 265 | :type 'string |
| 266 | :version "24.3") | 266 | :version "24.3") |
| 267 | 267 | ||
| 268 | ;; It must be a `defsubst' in order to push the whole code into | ||
| 269 | ;; tramp-loaddefs.el. Otherwise, there would be recursive autoloading. | ||
| 268 | ;;;###tramp-autoload | 270 | ;;;###tramp-autoload |
| 269 | (defsubst tramp-smb-file-name-p (filename) | 271 | (defsubst tramp-smb-file-name-p (filename) |
| 270 | "Check if it's a filename for SMB servers." | 272 | "Check if it's a filename for SMB servers." |