Created
March 21, 2013 04:01
-
-
Save stanaka/5210590 to your computer and use it in GitHub Desktop.
a patch for elscreen.el to use last-command-event instead of last-command-char, which is removed since emacs 24.3.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- elscreen.el.original 2013-03-21 12:58:17.000000000 +0900 | |
+++ elscreen.el 2013-03-21 12:59:05.000000000 +0900 | |
@@ -984,7 +984,7 @@ | |
(defun elscreen-jump () | |
"Switch to specified screen." | |
(interactive) | |
- (let ((next-screen (string-to-number (string last-command-char)))) | |
+ (let ((next-screen (string-to-number (string last-command-event)))) | |
(if (and (<= 0 next-screen) (<= next-screen 9)) | |
(elscreen-goto next-screen)))) | |
(defalias 'elscreen-jump-0 'elscreen-jump) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment