mooz/js-doc

complaints about iswitchb mode being obsolete

jmarca opened this issue · 1 comments

Hi,

I've been noticing that emacs complains every time I insert js-doc that iswitchb mode is obsolete

Package iswitchb is obsolete!
You can run the command `js-doc-insert-function-doc' with C-c i

see: https://www.emacswiki.org/emacs/IswitchBuffers

A quick search of this repo shows that it isn't an upstream problem, but rather this code uses it in js-doc.el:

(require 'iswitchb)

I don't know enough about emacs lisp to be helpful beyond this bug report

The only code in that file using iswitchb is at

;; http://www.emacswiki.org/emacs/UseIswitchBuffer
:

;; http://www.emacswiki.org/emacs/UseIswitchBuffer
(defun js-doc-icompleting-read (prompt collection)
  (let ((iswitchb-make-buflist-hook
     #'(lambda ()
             (setq iswitchb-temp-buflist collection))))
(iswitchb-read-buffer prompt nil nil)))