diff options
| author | Eli Zaretskii | 2006-03-18 15:11:48 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2006-03-18 15:11:48 +0000 |
| commit | f438bf5c0b43aaec1444a0f65fc61df6e470c2a6 (patch) | |
| tree | 0c42721f65720092b65cabf9ae81aa447b7e6f50 | |
| parent | 90c9c343b609b8916915374c1dacd71f66003d65 (diff) | |
| download | emacs-f438bf5c0b43aaec1444a0f65fc61df6e470c2a6.tar.gz emacs-f438bf5c0b43aaec1444a0f65fc61df6e470c2a6.zip | |
(isearch-other-meta-char): Handle user bindings for shifted control characters.
| -rw-r--r-- | lisp/isearch.el | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el index 8649ba520fe..7e491c378ab 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el | |||
| @@ -1696,12 +1696,15 @@ Isearch mode." | |||
| 1696 | (and (integerp main-event) | 1696 | (and (integerp main-event) |
| 1697 | (memq 'shift mods) | 1697 | (memq 'shift mods) |
| 1698 | (memq 'control mods) | 1698 | (memq 'control mods) |
| 1699 | (lookup-key isearch-mode-map | 1699 | (not (memq (lookup-key isearch-mode-map |
| 1700 | (let ((copy (copy-sequence key))) | 1700 | (let ((copy (copy-sequence key))) |
| 1701 | (aset copy 0 | 1701 | (aset copy 0 |
| 1702 | (- main-event (- ?\C-\S-a ?\C-a))) | 1702 | (- main-event |
| 1703 | copy) | 1703 | (- ?\C-\S-a ?\C-a))) |
| 1704 | nil))) | 1704 | copy) |
| 1705 | nil) | ||
| 1706 | '(nil | ||
| 1707 | isearch-other-control-char))))) | ||
| 1705 | (setcar keylist (- main-event (- ?\C-\S-a ?\C-a))) | 1708 | (setcar keylist (- main-event (- ?\C-\S-a ?\C-a))) |
| 1706 | (cancel-kbd-macro-events) | 1709 | (cancel-kbd-macro-events) |
| 1707 | (apply 'isearch-unread keylist)) | 1710 | (apply 'isearch-unread keylist)) |