summaryrefslogtreecommitdiff
path: root/lisp/double.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-05-02 18:27:24 +0000
committerRichard M. Stallman <rms@gnu.org>1994-05-02 18:27:24 +0000
commitcf9c8bfc7cf38d318b76af08f624830d7be38a33 (patch)
treef00e23f4f935ff8f9d1ab26bb3e1ab7d4b2641bb /lisp/double.el
parent60fd485496c29afe872c00440a2a5f9e1f38fbc1 (diff)
downloademacs-cf9c8bfc7cf38d318b76af08f624830d7be38a33.tar.gz
(double-translate-key): Changed 'delete to 127 to make
the non-X11 version work.
Diffstat (limited to 'lisp/double.el')
-rw-r--r--lisp/double.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/double.el b/lisp/double.el
index e0e3071463d..4de4b8a1dd8 100644
--- a/lisp/double.el
+++ b/lisp/double.el
@@ -85,12 +85,12 @@ Each entry is a list with three elements:
(message ""))
(read-event)))
-(global-set-key [ ignore ] '(lambda () (interactive)))
+(global-set-key [ignore] '(lambda () (interactive)))
(or (boundp 'isearch-mode-map)
(load-library "isearch"))
-(define-key isearch-mode-map [ ignore ]
+(define-key isearch-mode-map [ignore]
(function (lambda () (interactive) (isearch-update))))
(defun double-translate-key (prompt)
@@ -107,15 +107,15 @@ Each entry is a list with three elements:
(progn
(setq unread-command-events
(append (make-list (1- (length (nth 1 entry)))
- 'delete)
+ 127)
(nth 2 entry)
'(magic-end)))
(vector 127))
(setq unread-command-events (list new))
- [ ignore ])))
+ [ignore])))
((eq key 'magic-end)
;; End of double event. Ignore.
- [ ignore ])
+ [ignore])
(t
;; New key.
(let ((exp (nth 1 (assoc key double-map))))