[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 005585f6bd 3/5: Make gnus-iswitchb-completing-read obsolete

From: Stefan Kangas
Subject: master 005585f6bd 3/5: Make gnus-iswitchb-completing-read obsolete
Date: Sun, 14 Aug 2022 18:30:44 -0400 (EDT)

branch: master
commit 005585f6bd3c2add0c553d622e6c2b30d1f69b48
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    Make gnus-iswitchb-completing-read obsolete
    * 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
 lisp/gnus/gnus-util.el | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/lisp/gnus/gnus-util.el b/lisp/gnus/gnus-util.el
index d1ad5bd7b2..4c93814e0d 100644
--- a/lisp/gnus/gnus-util.el
+++ b/lisp/gnus/gnus-util.el
@@ -40,17 +40,14 @@
 (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."
                 :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)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]