aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/emulation/viper-util.el
diff options
context:
space:
mode:
authorMichael Kifer <[email protected]>1996-02-16 21:51:41 +0000
committerMichael Kifer <[email protected]>1996-02-16 21:51:41 +0000
commitbf04a50e58bdec1524cae3407d24c624aa4ed9e9 (patch)
treec59a7821a98a8a95055a6052b2348a9a684c9a66 /lisp/emulation/viper-util.el
parentdf93b82b6fc093ee281a407df94297e655cb3a72 (diff)
(vip-event-key): previous change undone.
Diffstat (limited to 'lisp/emulation/viper-util.el')
-rw-r--r--lisp/emulation/viper-util.el12
1 files changed, 1 insertions, 11 deletions
diff --git a/lisp/emulation/viper-util.el b/lisp/emulation/viper-util.el
index f486b66179..af76f07b1c 100644
--- a/lisp/emulation/viper-util.el
+++ b/lisp/emulation/viper-util.el
@@ -805,26 +805,16 @@ that Viper doesn't know about.")
((and (numberp event) (< ?\C-? event) (<= event 255))
(setq mod '(meta)
event (- event ?\C-? 1)))
- ;; If EVENT is a list, e.g., (switch-frame frame), we
- ;; ignore it, since we can't save this kind of events in a
- ;; textual form. In most cases, such events are created
- ;; unintentionally, and ignoring them is the right thing.
- ;; If an event of this kind was created intentionally during
- ;; macro definition---too bad.
- ((consp event) nil)
(t (event-basic-type event)))
)))
-
(if (numberp basis)
(setq basis
(if (= basis ?\C-?)
(list 'control '\?) ; taking care of an emacs bug
(intern (char-to-string basis)))))
-
(if mod
(append mod (list basis))
- basis)
- ))
+ basis)))
(defun vip-key-to-emacs-key (key)
(let (key-name char-p modifiers mod-char-list base-key base-key-name)