diff options
| author | Noam Postavsky | 2019-07-11 20:15:27 -0400 |
|---|---|---|
| committer | Noam Postavsky | 2019-07-13 21:25:10 -0400 |
| commit | 427ccb932164ed08a95455940c232860ffc6e417 (patch) | |
| tree | 8f5c3172a502ee7f70341aad6948792a1820ced0 | |
| parent | 5d713c89e923fbc3192719792090cc40327b13a2 (diff) | |
| download | emacs-427ccb932164ed08a95455940c232860ffc6e417.tar.gz emacs-427ccb932164ed08a95455940c232860ffc6e417.zip | |
Remove incorrect commentary about #$ in autoloads
* lisp/emacs-lisp/autoload.el (autoload-rubric):
`package-quickstart-refresh' does in fact support load-file-name as
well.
| -rw-r--r-- | lisp/emacs-lisp/autoload.el | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el index dfcf17ce1e8..fa2c6cdd039 100644 --- a/lisp/emacs-lisp/autoload.el +++ b/lisp/emacs-lisp/autoload.el | |||
| @@ -370,11 +370,6 @@ FILE's name." | |||
| 370 | ";;\n" | 370 | ";;\n" |
| 371 | ";;; Code:\n\n" | 371 | ";;; Code:\n\n" |
| 372 | (if lp | 372 | (if lp |
| 373 | ;; Use the `#$' to indicate current file, from which | ||
| 374 | ;; we extract the directory name. Note that | ||
| 375 | ;; `package-quickstart-refresh' specifically replaces | ||
| 376 | ;; `#$', so any other tricks (e.g., `load-file-name') | ||
| 377 | ;; will not work for that case. | ||
| 378 | "(add-to-list 'load-path (directory-file-name | 373 | "(add-to-list 'load-path (directory-file-name |
| 379 | (or (file-name-directory #$) (car load-path))))\n\n") | 374 | (or (file-name-directory #$) (car load-path))))\n\n") |
| 380 | "\n" | 375 | "\n" |