From 068218d2cf2138cb2e8fc29b57e773a0097a7e8b Mon Sep 17 00:00:00 2001 From: Jonathan Rockway Date: Mon, 12 Mar 2018 16:42:23 +0000 Subject: [PATCH] kill off iswitchb support, sorry folks, it's dead --- eproject-extras.el | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/eproject-extras.el b/eproject-extras.el index 90065ac..eaefad2 100644 --- a/eproject-extras.el +++ b/eproject-extras.el @@ -26,13 +26,13 @@ ;;; History: +;; 2018-03-12: Kill off iswitchb support. ;; 2012-05-16: `eproject-compile' moved to contrib/eproject-compile.el. ;;; Code: (require 'eproject) (require 'cl) -(require 'iswitchb) (require 'ibuffer) (require 'ibuf-ext) @@ -65,16 +65,7 @@ to select from, open file when selected." (defun eproject--icompleting-read (prompt choices) "Use iswitchb to do a completing read." - (let ((iswitchb-make-buflist-hook - (lambda () - (setq iswitchb-temp-buflist choices)))) - (unwind-protect - (progn - (when (not iswitchb-mode) - (add-hook 'minibuffer-setup-hook 'iswitchb-minibuffer-setup)) - (iswitchb-read-buffer prompt nil t)) - (when (not iswitchb-mode) - (remove-hook 'minibuffer-setup-hook 'iswitchb-minibuffer-setup))))) + (warn "iswitchb is dead, use eproject--ido-completing-read")) (defun eproject--ido-completing-read (prompt choices) "Use ido to do a completing read." @@ -87,8 +78,6 @@ Used by `eproject-find-file'." :group 'eproject :type '(radio (function-item :doc "Use emacs' standard completing-read function." eproject--completing-read) - (function-item :doc "Use iswitchb's completing-read function." - eproject--icompleting-read) (function-item :doc "Use ido's completing-read function." eproject--ido-completing-read) (function)))