Nyxt: Set nosave-buffer modes.
parent
6362892b2c
commit
90d8953101
|
@ -117,22 +117,20 @@ Recognized formats:
|
|||
append (nyxt::with-maybe-gpg-file (s file)
|
||||
(read-emacs-engines s))))
|
||||
|
||||
(define-configuration (internal-buffer)
|
||||
;; TODO: Doesn't it work with just `buffer'?
|
||||
((default-modes (append '(my-mode vi-normal-mode
|
||||
;; dark-mode
|
||||
)
|
||||
%slot-default))))
|
||||
(define-configuration (web-buffer)
|
||||
((default-modes (append '(my-mode vi-normal-mode) %slot-default))))
|
||||
(define-configuration buffer ; Multiple configurations work!
|
||||
(define-configuration buffer ; Multiple configurations work!
|
||||
((search-engines (append my-search-engines %slot-default))
|
||||
(bookmarks-path (make-instance 'bookmarks-data-path
|
||||
:basename (personal-file "bookmarks/bookmarks.lisp.gpg")))
|
||||
(auto-mode-rules-path
|
||||
(make-instance 'auto-mode-rules-data-path :basename (personal-file "bookmarks/auto-mode-rules.lisp.gpg")))))
|
||||
|
||||
(define-configuration web-buffer
|
||||
(define-configuration (buffer web-buffer nosave-buffer)
|
||||
((default-modes (append '(my-mode vi-normal-mode
|
||||
;; dark-mode
|
||||
)
|
||||
%slot-default))))
|
||||
|
||||
(define-configuration (web-buffer nosave-buffer)
|
||||
((default-modes (append
|
||||
'(auto-mode
|
||||
blocker-mode
|
||||
|
|
Loading…
Reference in New Issue