From 427ccb932164ed08a95455940c232860ffc6e417 Mon Sep 17 00:00:00 2001 From: Noam Postavsky Date: Thu, 11 Jul 2019 20:15:27 -0400 Subject: [PATCH] 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 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" -- 2.39.2