Fix toggle-maximize-buffer

Was using the symbol _ as the name of a register when the docs for
register-alist state that the name of a register should be a character.
This commit is contained in:
justbur 2016-02-16 12:35:36 -05:00 committed by syl20bnr
parent aab007d225
commit 85a7cd9b5b
1 changed files with 3 additions and 3 deletions

View File

@ -176,10 +176,10 @@ the current state and point position."
"Maximize buffer"
(interactive)
(if (and (= 1 (length (window-list)))
(assoc'_ register-alist))
(jump-to-register '_)
(assoc ?_ register-alist))
(jump-to-register ?_)
(progn
(window-configuration-to-register '_)
(window-configuration-to-register ?_)
(delete-other-windows))))
;; A small minor mode to use a big fringe