summaryrefslogtreecommitdiff
path: root/lisp/simple.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2014-02-06 19:22:34 -0800
committerGlenn Morris <rgm@gnu.org>2014-02-06 19:22:34 -0800
commit2b568bc90bdae6daddd3e928f1b120015c26907b (patch)
treeccbd70414c2fc2546b25c99c70d710dbde208864 /lisp/simple.el
parente04d62b9d94817358faf16841a83859ed36ff3df (diff)
downloademacs-2b568bc90bdae6daddd3e928f1b120015c26907b.tar.gz
Move iswitchb.el to obsolete/
Ref: http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00501.html * lisp/obsolete/iswitchb.el: Move to obsolete/. * lisp/simple.el (iswitchb-mode): Add manual autoloads to ease transition, since obsolete/ is not scanned for autoloads. * lisp/emacs-lisp/authors.el (authors-valid-file-names): Add iswitchb.el. * doc/emacs/ack.texi (Acknowledgments): No longer mention obsolete files. * doc/misc/viper.texi (File and Buffer Handling): Prefer ido to iswitchb. * etc/NEWS: Related edits.
Diffstat (limited to 'lisp/simple.el')
-rw-r--r--lisp/simple.el27
1 files changed, 27 insertions, 0 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 2e924c857da..f1955b58500 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -7766,6 +7766,33 @@ contains the list of implementations currently supported for this command."
(message ,(format "No implementation selected for command `%s'"
command-name)))))))
+
+;; This is here because files in obsolete/ are not scanned for autoloads.
+
+(defvar iswitchb-mode nil "\
+Non-nil if Iswitchb mode is enabled.
+See the command `iswitchb-mode' for a description of this minor mode.
+Setting this variable directly does not take effect;
+either customize it (see the info node `Easy Customization')
+or call the function `iswitchb-mode'.")
+
+(custom-autoload 'iswitchb-mode "iswitchb" nil)
+
+(autoload 'iswitchb-mode "iswitchb" "\
+Toggle Iswitchb mode.
+With a prefix argument ARG, enable Iswitchb mode if ARG is
+positive, and disable it otherwise. If called from Lisp, enable
+the mode if ARG is omitted or nil.
+
+Iswitchb mode is a global minor mode that enables switching
+between buffers using substrings. See `iswitchb' for details.
+
+\(fn &optional ARG)" t nil)
+
+(make-obsolete 'iswitchb-mode
+ "use `icomplete-mode' or `ido-mode' instead." "24.4")
+
+
(provide 'simple)
;;; simple.el ends here