]> git.eshelyaron.com Git - emacs.git/commitdiff
Make gnus-iswitchb-completing-read obsolete
authorStefan Kangas <stefan@marxist.se>
Sun, 14 Aug 2022 14:37:11 +0000 (16:37 +0200)
committerStefan Kangas <stefan@marxist.se>
Sun, 14 Aug 2022 21:46:33 +0000 (23:46 +0200)
* lisp/gnus/gnus-util.el (gnus-iswitchb-completing-read): Make
obsolete.  It depends on the obsolete library iswitchb.el.
(gnus-completing-read-function): Don't advertise above obsolete
function.

lisp/gnus/gnus-util.el

index d1ad5bd7b2d4ba20699b1eaee0e4e6d976469a98..4c93814e0dcbecca85213fbeeb26b47d01ad225a 100644 (file)
 
 (defcustom gnus-completing-read-function 'gnus-emacs-completing-read
   "Function use to do completing read."
-  :version "24.1"
+  :version "29.1"
   :group 'gnus-meta
   :type '(radio (function-item
                  :doc "Use Emacs standard `completing-read' function."
                  gnus-emacs-completing-read)
                (function-item
                 :doc "Use `ido-completing-read' function."
-                gnus-ido-completing-read)
-               (function-item
-                :doc "Use iswitchb based completing-read function."
-                gnus-iswitchb-completing-read)))
+                 gnus-ido-completing-read)))
 
 (defcustom gnus-completion-styles
   (append (when (and (assq 'substring completion-styles-alist)
@@ -1202,6 +1199,7 @@ SPEC is a predicate specifier that contains stuff like `or', `and',
 (defun gnus-iswitchb-completing-read (prompt collection &optional require-match
                                             initial-input history def)
   "`iswitchb' based completing-read function."
+  (declare (obsolete nil "29.1"))
   ;; Make sure iswitchb is loaded before we let-bind its variables.
   ;; If it is loaded inside the let, variables can become unbound afterwards.
   (require 'iswitchb)