From: Tom Breton (Tehom) Date: Fri, 24 Dec 2010 21:45:27 +0000 (-0500) Subject: Deprecated calling elinstall-arrange-preload explicitly X-Git-Url: https://repo.or.cz/w/elinstall.git/commitdiff_plain/53568c79d4e3d17ad8e3c9eb15628d9b6132c6f5 Deprecated calling elinstall-arrange-preload explicitly --- diff --git a/elinstall.el b/elinstall.el index 27167a5..4372095 100644 --- a/elinstall.el +++ b/elinstall.el @@ -34,9 +34,6 @@ ;; elinstall-update-directory ;; elinstall-update-file -;; elinstall-arrange-preload - Use this for non-autogenerated files -;; that need to be linked in. Packages are advised to write a spec -;; instead of calling this directly. ;;;_ , Requires @@ -840,12 +837,15 @@ FILENAME should not have an extension" ;;;_ . elinstall-arrange-preload -;;;###autoload (defun elinstall-arrange-preload (filename basename &optional priority) "Arrange for FILENAME to be loaded on emacs start. BASENAME and PRIORITY are used as arguments to `elinstall-symlink-on-emacs-start'. -" + +For non-autogenerated files that need to be linked in. + +Calling this explicitly is deprecated. Instead, write a spec +containing \(preload Filename nil Basename Priority)." (let ((preload-target elinstall-default-preload-target))