From: Noam Postavsky Date: Fri, 12 Jul 2019 00:15:27 +0000 (-0400) Subject: Remove incorrect commentary about #$ in autoloads X-Git-Tag: emacs-27.0.90~1932 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=427ccb932164ed08a95455940c232860ffc6e417;p=emacs.git 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. --- 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"