summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/autoload.el
diff options
context:
space:
mode:
authorNoam Postavsky <npostavs@gmail.com>2019-07-11 20:15:27 -0400
committerNoam Postavsky <npostavs@gmail.com>2019-07-13 21:25:10 -0400
commit427ccb932164ed08a95455940c232860ffc6e417 (patch)
tree8f5c3172a502ee7f70341aad6948792a1820ced0 /lisp/emacs-lisp/autoload.el
parent5d713c89e923fbc3192719792090cc40327b13a2 (diff)
downloademacs-427ccb932164ed08a95455940c232860ffc6e417.tar.gz
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.
Diffstat (limited to 'lisp/emacs-lisp/autoload.el')
-rw-r--r--lisp/emacs-lisp/autoload.el5
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."
";;\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"