[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 427ccb9 2/3: Remove incorrect commentary about #$ i
From: |
Noam Postavsky |
Subject: |
[Emacs-diffs] master 427ccb9 2/3: Remove incorrect commentary about #$ in autoloads |
Date: |
Sat, 13 Jul 2019 21:42:04 -0400 (EDT) |
branch: master
commit 427ccb932164ed08a95455940c232860ffc6e417
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>
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.
---
lisp/emacs-lisp/autoload.el | 5 -----
1 file changed, 5 deletions(-)
diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el
index dfcf17c..fa2c6cd 100644
--- a/lisp/emacs-lisp/autoload.el
+++ b/lisp/emacs-lisp/autoload.el
@@ -370,11 +370,6 @@ FILE's name."
";;\n"
";;; Code:\n\n"
(if lp
- ;; Use the `#$' to indicate current file, from which
- ;; we extract the directory name. Note that
- ;; `package-quickstart-refresh' specifically replaces
- ;; `#$', so any other tricks (e.g., `load-file-name')
- ;; will not work for that case.
"(add-to-list 'load-path (directory-file-name
(or (file-name-directory #$) (car load-path))))\n\n")
"\n"