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:
parent
aab007d225
commit
85a7cd9b5b
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Reference in a new issue