diff options
author | Glenn Morris <rgm@gnu.org> | 2009-01-09 04:44:15 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2009-01-09 04:44:15 +0000 |
commit | 8989a9203f73473569ddf83e505a846609def407 (patch) | |
tree | 2dcc35b588e98388ef66ef39157e9d17290df217 /lisp/isearchb.el | |
parent | a4d9b7bca3dc69efe89eecbd81ed96859f7cd818 (diff) | |
download | emacs-8989a9203f73473569ddf83e505a846609def407.tar.gz |
Replace last-command-char with last-command-event.
Diffstat (limited to 'lisp/isearchb.el')
-rw-r--r-- | lisp/isearchb.el | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lisp/isearchb.el b/lisp/isearchb.el index 496bcf92914..d9a14eaefa2 100644 --- a/lisp/isearchb.el +++ b/lisp/isearchb.el @@ -1,6 +1,7 @@ ;;; isearchb --- a marriage between iswitchb and isearch -;; Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. +;; Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 +;; Free Software Foundation, Inc. ;; Author: John Wiegley <johnw@gnu.org> ;; Maintainer: FSF @@ -136,10 +137,10 @@ Its purpose is to pass different call arguments to (unless iswitchb-text (setq iswitchb-text "") (iswitchb-make-buflist nil)) - (if last-command-char + (if last-command-event (setq iswitchb-rescan t iswitchb-text (concat iswitchb-text - (char-to-string last-command-char)))) + (char-to-string last-command-event)))) (iswitchb-set-matches) (let* ((match (car iswitchb-matches)) (buf (and match (get-buffer match)))) @@ -176,17 +177,17 @@ Its purpose is to pass different call arguments to (substring iswitchb-text 0 (1- (length iswitchb-text)))) (if (= 0 (length iswitchb-text)) (isearchb-stop t t) - (setq last-command-char nil) + (setq last-command-event nil) (setq this-command 'isearchb))) ((or (equal keys "\C-i") (equal keys [tab])) (setq this-command 'isearchb-iswitchb)) ((equal keys "\C-s") (iswitchb-next-match) - (setq last-command-char nil) + (setq last-command-event nil) (setq this-command 'isearchb)) ((equal keys "\C-r") (iswitchb-prev-match) - (setq last-command-char nil) + (setq last-command-event nil) (setq this-command 'isearchb)) ((equal keys "\C-g") (ding) |