X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/8a1f4a98c1b8e3abaf1b46394a88d09531ce4c2d..45c92ddd99f5d3ceb520f9a27678bbedde83589b:/lisp/isearchb.el?ds=sidebyside diff --git a/lisp/isearchb.el b/lisp/isearchb.el index e79d6b26c6..5e7771cea5 100644 --- a/lisp/isearchb.el +++ b/lisp/isearchb.el @@ -1,10 +1,9 @@ ;;; isearchb --- a marriage between iswitchb and isearch -;; Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 -;; Free Software Foundation, Inc. +;; Copyright (C) 2004-2015 Free Software Foundation, Inc. ;; Author: John Wiegley -;; Maintainer: FSF +;; Maintainer: emacs-devel@gnu.org ;; Created: 16 Apr 2004 ;; Version: 1.5 ;; Keywords: lisp @@ -76,7 +75,9 @@ ;; killing iswitchb.el and then trying to switch back is broken ;; make sure TAB isn't broken -(require 'iswitchb) +;;; Code: + +(require 'iswitchb) ;FIXME: Don't rely on iswitchb! (defgroup isearchb nil "Switch between buffers using a mechanism like isearch." @@ -119,7 +120,7 @@ Its purpose is to pass different call arguments to (interactive) (let* ((prompt "iswitch ") (iswitchb-method 'samewindow) - (buf (iswitchb-read-buffer prompt nil nil iswitchb-text t))) + (buf (iswitchb-read-buffer prompt nil nil nil iswitchb-text t))) (if (eq iswitchb-exit 'findfile) (call-interactively 'find-file) (when buf @@ -140,7 +141,8 @@ Its purpose is to pass different call arguments to (if last-command-event (setq iswitchb-rescan t iswitchb-text (concat iswitchb-text - (char-to-string last-command-event)))) + (char-to-string + (event-basic-type last-command-event))))) (iswitchb-set-matches) (let* ((match (car iswitchb-matches)) (buf (and match (get-buffer match)))) @@ -223,5 +225,4 @@ accessed via isearchb." (provide 'isearchb) -;; arch-tag: 9277523f-a624-4aa0-ba10-b89eeb7b6e99 ;;; isearchb.el ends here