aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris2014-02-06 19:22:34 -0800
committerGlenn Morris2014-02-06 19:22:34 -0800
commit2b568bc90bdae6daddd3e928f1b120015c26907b (patch)
treeccbd70414c2fc2546b25c99c70d710dbde208864 /lisp
parente04d62b9d94817358faf16841a83859ed36ff3df (diff)
downloademacs-2b568bc90bdae6daddd3e928f1b120015c26907b.tar.gz
emacs-2b568bc90bdae6daddd3e928f1b120015c26907b.zip
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')
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/emacs-lisp/authors.el2
-rw-r--r--lisp/obsolete/iswitchb.el (renamed from lisp/iswitchb.el)9
-rw-r--r--lisp/simple.el27
4 files changed, 42 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index e77adedb23f..18587c06e31 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,11 @@
12014-02-07 Glenn Morris <rgm@gnu.org> 12014-02-07 Glenn Morris <rgm@gnu.org>
2 2
3 * obsolete/iswitchb.el: Move to obsolete/.
4 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
5 since obsolete/ is not scanned for autoloads.
6 * emacs-lisp/authors.el (authors-valid-file-names):
7 Add iswitchb.el.
8
3 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11). 9 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
4 Disable now non-functional find-file-hook. 10 Disable now non-functional find-file-hook.
5 11
diff --git a/lisp/emacs-lisp/authors.el b/lisp/emacs-lisp/authors.el
index 166e2134cb9..dfc60512c61 100644
--- a/lisp/emacs-lisp/authors.el
+++ b/lisp/emacs-lisp/authors.el
@@ -626,7 +626,7 @@ Changes to files in this list are not listed.")
626 "erc-hecomplete.el" 626 "erc-hecomplete.el"
627 "eshell/esh-maint.el" 627 "eshell/esh-maint.el"
628 "language/persian.el" 628 "language/persian.el"
629 "meese.el" 629 "meese.el" "iswitchb.el"
630 "mh-exec.el" "mh-init.el" "mh-customize.el" 630 "mh-exec.el" "mh-init.el" "mh-customize.el"
631 "net/zone-mode.el" "xesam.el" 631 "net/zone-mode.el" "xesam.el"
632 "term/mac-win.el" "sup-mouse.el" 632 "term/mac-win.el" "sup-mouse.el"
diff --git a/lisp/iswitchb.el b/lisp/obsolete/iswitchb.el
index 5690d9c4e3f..c1313b8a00f 100644
--- a/lisp/iswitchb.el
+++ b/lisp/obsolete/iswitchb.el
@@ -5,6 +5,7 @@
5;; Author: Stephen Eglen <stephen@gnu.org> 5;; Author: Stephen Eglen <stephen@gnu.org>
6;; Maintainer: Stephen Eglen <stephen@gnu.org> 6;; Maintainer: Stephen Eglen <stephen@gnu.org>
7;; Keywords: completion convenience 7;; Keywords: completion convenience
8;; Obsolete-since: 24.4
8 9
9;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
10 11
@@ -23,6 +24,8 @@
23 24
24;;; Commentary: 25;;; Commentary:
25 26
27;; This file is obsolete - use icomplete-mode or ido-mode instead.
28
26;; Installation: 29;; Installation:
27;; To get the functions in this package bound to keys, use 30;; To get the functions in this package bound to keys, use
28;; M-x iswitchb-mode or customize the option `iswitchb-mode'. 31;; M-x iswitchb-mode or customize the option `iswitchb-mode'.
@@ -1413,6 +1416,9 @@ See the variable `iswitchb-case' for details."
1413 (isearch-no-upper-case-p iswitchb-text) 1416 (isearch-no-upper-case-p iswitchb-text)
1414 (isearch-no-upper-case-p iswitchb-text t)))) 1417 (isearch-no-upper-case-p iswitchb-text t))))
1415 1418
1419;; NB obsolete/ is not scanned for autoloads.
1420;; If you change any of the following doc, copy the changes to simple.el.
1421
1416;;;###autoload 1422;;;###autoload
1417(define-minor-mode iswitchb-mode 1423(define-minor-mode iswitchb-mode
1418 "Toggle Iswitchb mode. 1424 "Toggle Iswitchb mode.
@@ -1427,8 +1433,9 @@ between buffers using substrings. See `iswitchb' for details."
1427 (add-hook 'minibuffer-setup-hook 'iswitchb-minibuffer-setup) 1433 (add-hook 'minibuffer-setup-hook 'iswitchb-minibuffer-setup)
1428 (remove-hook 'minibuffer-setup-hook 'iswitchb-minibuffer-setup))) 1434 (remove-hook 'minibuffer-setup-hook 'iswitchb-minibuffer-setup)))
1429 1435
1436;;;###autoload
1430(make-obsolete 'iswitchb-mode 1437(make-obsolete 'iswitchb-mode
1431 "use icomplete-mode or ido-mode instead" "24.4") 1438 "use `icomplete-mode' or `ido-mode' instead." "24.4")
1432 1439
1433(provide 'iswitchb) 1440(provide 'iswitchb)
1434 1441
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."
7766 (message ,(format "No implementation selected for command `%s'" 7766 (message ,(format "No implementation selected for command `%s'"
7767 command-name))))))) 7767 command-name)))))))
7768 7768
7769
7770;; This is here because files in obsolete/ are not scanned for autoloads.
7771
7772(defvar iswitchb-mode nil "\
7773Non-nil if Iswitchb mode is enabled.
7774See the command `iswitchb-mode' for a description of this minor mode.
7775Setting this variable directly does not take effect;
7776either customize it (see the info node `Easy Customization')
7777or call the function `iswitchb-mode'.")
7778
7779(custom-autoload 'iswitchb-mode "iswitchb" nil)
7780
7781(autoload 'iswitchb-mode "iswitchb" "\
7782Toggle Iswitchb mode.
7783With a prefix argument ARG, enable Iswitchb mode if ARG is
7784positive, and disable it otherwise. If called from Lisp, enable
7785the mode if ARG is omitted or nil.
7786
7787Iswitchb mode is a global minor mode that enables switching
7788between buffers using substrings. See `iswitchb' for details.
7789
7790\(fn &optional ARG)" t nil)
7791
7792(make-obsolete 'iswitchb-mode
7793 "use `icomplete-mode' or `ido-mode' instead." "24.4")
7794
7795
7769(provide 'simple) 7796(provide 'simple)
7770 7797
7771;;; simple.el ends here 7798;;; simple.el ends here