[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/erc/erc.el,v
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/erc/erc.el,v |
Date: |
Sat, 01 Dec 2007 03:40:42 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Glenn Morris <gm> 07/12/01 03:40:41
Index: erc.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/erc/erc.el,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -b -r1.37 -r1.38
--- erc.el 30 Nov 2007 08:12:57 -0000 1.37
+++ erc.el 1 Dec 2007 03:40:41 -0000 1.38
@@ -1693,6 +1693,11 @@
(put 'erc-with-all-buffers-of-server 'lisp-indent-function 1)
(put 'erc-with-all-buffers-of-server 'edebug-form-spec '(form form body))
+;; (iswitch-mode) will autoload iswitchb.el
+(defvar iswitchb-temp-buflist)
+(declare-function iswitchb-read-buffer "iswitchb"
+ (prompt &optional default require-match start matches-set))
+
(defun erc-iswitchb (&optional arg)
"Use `iswitchb-read-buffer' to prompt for a ERC buffer to switch to.
When invoked with prefix argument, use all erc buffers. Without prefix
@@ -1703,9 +1708,7 @@
Due to some yet unresolved reason, global function `iswitchb-mode'
needs to be active for this function to work."
(interactive "P")
- (eval-when-compile
- (require 'iswitchb))
- (let ((enabled iswitchb-mode))
+ (let ((enabled (bound-and-true-p iswitchb-mode)))
(or enabled (iswitchb-mode 1))
(unwind-protect
(let ((iswitchb-make-buflist-hook
- [Emacs-diffs] Changes to emacs/lisp/erc/erc.el,v, Juanma Barranquero, 2007/11/15
- [Emacs-diffs] Changes to emacs/lisp/erc/erc.el,v, Michael W. Olson, 2007/11/29
- [Emacs-diffs] Changes to emacs/lisp/erc/erc.el,v, Dan Nicolaescu, 2007/11/30
- [Emacs-diffs] Changes to emacs/lisp/erc/erc.el,v,
Glenn Morris <=
- [Emacs-diffs] Changes to emacs/lisp/erc/erc.el,v, Glenn Morris, 2007/11/30
- [Emacs-diffs] Changes to emacs/lisp/erc/erc.el,v, Glenn Morris, 2007/11/30