summaryrefslogtreecommitdiff
path: root/lisp/icomplete.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2014-10-06 10:12:56 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2014-10-06 10:12:56 -0400
commit71785ae78c87c3b96b20900cd7a9d4f69bce7757 (patch)
tree6960f1e1dbdd10325193033c87b9daea4abf534f /lisp/icomplete.el
parent87666a0567f4e349e758cbe61161f0ac89018a43 (diff)
downloademacs-71785ae78c87c3b96b20900cd7a9d4f69bce7757.tar.gz
* lisp/icomplete.el: Move Iswitchb autoload here. Much simpler.
* lisp/Makefile.in (obsolete-autoloads): Remove. (AUTOGENEL): Remove obsolete/loaddefs.el. * lisp/loadup.el: Don't load obsolete/loaddefs.el. * lisp/obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie. Remove redundant obsolescence thingy.
Diffstat (limited to 'lisp/icomplete.el')
-rw-r--r--lisp/icomplete.el13
1 files changed, 13 insertions, 0 deletions
diff --git a/lisp/icomplete.el b/lisp/icomplete.el
index 0c5a2babd86..95a6e1b357c 100644
--- a/lisp/icomplete.el
+++ b/lisp/icomplete.el
@@ -487,6 +487,19 @@ matches exist."
"}")
(concat determ " [Matched]"))))))
+;;; Iswitchb compatibility
+
+;; We moved Iswitchb to `obsolete' in 24.4, but autoloads in files in
+;; `obsolete' aren't obeyed (since that would encourage people to keep using
+;; those packages, oblivious to their obsolescence). Given the fact that
+;; Iswitchb was very popular, we decided to keep its autoload for a bit longer,
+;; so we moved it here.
+
+;;;###autoload(when (locate-library "obsolete/iswitchb")
+;;;###autoload (autoload 'iswitchb-mode "iswitchb" "Toggle Iswitchb mode." t)
+;;;###autoload (make-obsolete 'iswitchb-mode
+;;;###autoload "use `icomplete-mode' or `ido-mode' instead." "24.4"))
+
;;;_* Provide
(provide 'icomplete)