summaryrefslogtreecommitdiff
path: root/lisp/obsolete
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2014-03-27 15:00:49 -0400
committerGlenn Morris <rgm@gnu.org>2014-03-27 15:00:49 -0400
commit6730259fea22fcd4b7d28f3b57fef2d5776a2dad (patch)
treebcb208f844d667b195a0310200ca769732165f49 /lisp/obsolete
parentc31528bf1c82fcd6789d14ad24a548f7c95d0b3b (diff)
downloademacs-6730259fea22fcd4b7d28f3b57fef2d5776a2dad.tar.gz
Allow selective autoloading from lisp/obsolete directory
* lisp/Makefile.in (obsolete-autoloads): New rule. (autoloads): Run obsolete-autoloads. * lisp/obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload. * lisp/simple.el (iswitchb-mode): Remove hand-written autoloads.
Diffstat (limited to 'lisp/obsolete')
-rw-r--r--lisp/obsolete/iswitchb.el7
1 files changed, 2 insertions, 5 deletions
diff --git a/lisp/obsolete/iswitchb.el b/lisp/obsolete/iswitchb.el
index c1313b8a00f..dfe1222d550 100644
--- a/lisp/obsolete/iswitchb.el
+++ b/lisp/obsolete/iswitchb.el
@@ -1416,10 +1416,7 @@ See the variable `iswitchb-case' for details."
(isearch-no-upper-case-p iswitchb-text)
(isearch-no-upper-case-p iswitchb-text t))))
-;; NB obsolete/ is not scanned for autoloads.
-;; If you change any of the following doc, copy the changes to simple.el.
-
-;;;###autoload
+;;;###obsolete-autoload
(define-minor-mode iswitchb-mode
"Toggle Iswitchb mode.
With a prefix argument ARG, enable Iswitchb mode if ARG is
@@ -1433,7 +1430,7 @@ between buffers using substrings. See `iswitchb' for details."
(add-hook 'minibuffer-setup-hook 'iswitchb-minibuffer-setup)
(remove-hook 'minibuffer-setup-hook 'iswitchb-minibuffer-setup)))
-;;;###autoload
+;;;###obsolete-autoload
(make-obsolete 'iswitchb-mode
"use `icomplete-mode' or `ido-mode' instead." "24.4")