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.
This commit is contained in:
Noam Postavsky 2019-07-11 20:15:27 -04:00
parent 5d713c89e9
commit 427ccb9321

View file

@ -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"