diff options
| author | Glenn Morris | 2009-01-09 05:00:56 +0000 |
|---|---|---|
| committer | Glenn Morris | 2009-01-09 05:00:56 +0000 |
| commit | 1e4bd40da283e6bbd9f501b7fcbc748353173f41 (patch) | |
| tree | 023038713fe26febec1d66ff460fe26aea104dc4 /lisp/replace.el | |
| parent | cfa29281070a1f7868ed42f330d9a666b2fc39e2 (diff) | |
| download | emacs-1e4bd40da283e6bbd9f501b7fcbc748353173f41.tar.gz emacs-1e4bd40da283e6bbd9f501b7fcbc748353173f41.zip | |
Replace last-input-char with last-input-event.
Diffstat (limited to 'lisp/replace.el')
| -rw-r--r-- | lisp/replace.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/replace.el b/lisp/replace.el index 95bb680b7a4..131bfb66f77 100644 --- a/lisp/replace.el +++ b/lisp/replace.el | |||
| @@ -1,7 +1,8 @@ | |||
| 1 | ;;; replace.el --- replace commands for Emacs | 1 | ;;; replace.el --- replace commands for Emacs |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1985, 1986, 1987, 1992, 1994, 1996, 1997, 2000, 2001, | 3 | ;; Copyright (C) 1985, 1986, 1987, 1992, 1994, 1996, 1997, 2000, 2001, |
| 4 | ;; 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. | 4 | ;; 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 |
| 5 | ;; Free Software Foundation, Inc. | ||
| 5 | 6 | ||
| 6 | ;; Maintainer: FSF | 7 | ;; Maintainer: FSF |
| 7 | 8 | ||
| @@ -1571,7 +1572,7 @@ make, or the user didn't cancel the call." | |||
| 1571 | 1572 | ||
| 1572 | ;; If last typed key in previous call of multi-buffer perform-replace | 1573 | ;; If last typed key in previous call of multi-buffer perform-replace |
| 1573 | ;; was `automatic-all', don't ask more questions in next files | 1574 | ;; was `automatic-all', don't ask more questions in next files |
| 1574 | (when (eq (lookup-key map (vector last-input-char)) 'automatic-all) | 1575 | (when (eq (lookup-key map (vector last-input-event)) 'automatic-all) |
| 1575 | (setq query-flag nil multi-buffer t)) | 1576 | (setq query-flag nil multi-buffer t)) |
| 1576 | 1577 | ||
| 1577 | ;; REPLACEMENTS is either a string, a list of strings, or a cons cell | 1578 | ;; REPLACEMENTS is either a string, a list of strings, or a cons cell |