emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/emulation/viper-cmd.el


From: Michael Kifer
Subject: [Emacs-diffs] Changes to emacs/lisp/emulation/viper-cmd.el
Date: Tue, 19 Jul 2005 01:01:23 -0400

Index: emacs/lisp/emulation/viper-cmd.el
diff -c emacs/lisp/emulation/viper-cmd.el:1.45 
emacs/lisp/emulation/viper-cmd.el:1.46
*** emacs/lisp/emulation/viper-cmd.el:1.45      Sun Jul 10 18:46:24 2005
--- emacs/lisp/emulation/viper-cmd.el   Tue Jul 19 05:01:19 2005
***************
*** 774,780 ****
           )
  
          (if (commandp com)
!             (progn
                (setq prefix-arg (or prefix-arg arg))
                (command-execute com)))
          )
--- 774,781 ----
           )
  
          (if (commandp com)
!             ;; pretend that current state is the state we excaped to
!             (let ((viper-current-state state))
                (setq prefix-arg (or prefix-arg arg))
                (command-execute com)))
          )
***************
*** 996,1004 ****
        (inhibit-quit t))
      (if (viper-ESC-event-p event)
        (progn
!         (if (viper-fast-keysequence-p)
              (progn
!               (let (minor-mode-map-alist)
                  (viper-set-unread-command-events event)
                  (setq keyseq (read-key-sequence nil 'continue-echo))
                  ) ; let
--- 997,1008 ----
        (inhibit-quit t))
      (if (viper-ESC-event-p event)
        (progn
!         ;; Emacs 22.50.8 introduced a bug, which makes even a single ESC into
!         ;; a fast keyseq. To guard against this, we added a check if there
!         ;; are other events as well
!         (if (and (viper-fast-keysequence-p) unread-command-events)
              (progn
!               (let (minor-mode-map-alist emulation-mode-map-alists)
                  (viper-set-unread-command-events event)
                  (setq keyseq (read-key-sequence nil 'continue-echo))
                  ) ; let




reply via email to

[Prev in Thread] Current Thread [Next in Thread]