Fix wrong-type-arg error on menu-bar-open
Due to malformed menu-bar-lines frame property. Same for tool-bar-lines as well.
This commit is contained in:
parent
b43888901f
commit
ddaf1e5b67
2 changed files with 4 additions and 4 deletions
|
@ -401,8 +401,8 @@ frame's window-system, the theme will be reloaded.")
|
||||||
;; Make `next-buffer', `other-buffer', etc. ignore unreal buffers.
|
;; Make `next-buffer', `other-buffer', etc. ignore unreal buffers.
|
||||||
(add-to-list 'default-frame-alist '(buffer-predicate . doom-buffer-frame-predicate))
|
(add-to-list 'default-frame-alist '(buffer-predicate . doom-buffer-frame-predicate))
|
||||||
;; Prevent the glimpse of un-styled Emacs by setting these early.
|
;; Prevent the glimpse of un-styled Emacs by setting these early.
|
||||||
(add-to-list 'default-frame-alist '(tool-bar-lines 0))
|
(add-to-list 'default-frame-alist '(tool-bar-lines . 0))
|
||||||
(add-to-list 'default-frame-alist '(menu-bar-lines 0))
|
(add-to-list 'default-frame-alist '(menu-bar-lines . 0))
|
||||||
(add-to-list 'default-frame-alist '(vertical-scroll-bars))
|
(add-to-list 'default-frame-alist '(vertical-scroll-bars))
|
||||||
;; prompts the user for confirmation when deleting a non-empty frame
|
;; prompts the user for confirmation when deleting a non-empty frame
|
||||||
(global-set-key [remap delete-frame] #'doom/delete-frame)
|
(global-set-key [remap delete-frame] #'doom/delete-frame)
|
||||||
|
|
|
@ -12,6 +12,6 @@
|
||||||
(setq package-enable-at-startup nil)
|
(setq package-enable-at-startup nil)
|
||||||
|
|
||||||
;; Prevent the glimpse of un-styled Emacs by setting these early.
|
;; Prevent the glimpse of un-styled Emacs by setting these early.
|
||||||
(add-to-list 'default-frame-alist '(tool-bar-lines 0))
|
(add-to-list 'default-frame-alist '(tool-bar-lines . 0))
|
||||||
(add-to-list 'default-frame-alist '(menu-bar-lines 0))
|
(add-to-list 'default-frame-alist '(menu-bar-lines . 0))
|
||||||
(add-to-list 'default-frame-alist '(vertical-scroll-bars))
|
(add-to-list 'default-frame-alist '(vertical-scroll-bars))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue