Skip to content

Commit

Permalink
defadvice elscreen-jump to avoid error of last-command-char
Browse files Browse the repository at this point in the history
  • Loading branch information
znz committed Sep 24, 2013
1 parent 576e4dc commit 12599e8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions init.el.d/50elscreen.el
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@
;; C-z C-z で直前のスクリーンに移動する。
(define-key elscreen-map "\C-z" 'elscreen-toggle)

;; elscreen: From Emacs 24.3: Symbol's value as variable is void: last-command-char
;; http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=705436
;; のパッチから GNU Emacs 用の対処方法を取り出して advice に変更。
(defadvice elscreen-jump (around elscreen-last-command-char-event activate)
(let ((last-command-char last-command-event))
ad-do-it))

(add-to-list
'elscreen-mode-to-nickname-alist
'("^riece-" . "Riece"))
Expand Down

0 comments on commit 12599e8

Please sign in to comment.