Move window-init from core-ui.el to init.el
This commit is contained in:
parent
245b93b3ed
commit
8e87db6a9b
3 changed files with 15 additions and 17 deletions
|
@ -1,15 +1,10 @@
|
|||
;;; core-ui.el --- interface settings
|
||||
;; see lib/ui-defuns.el
|
||||
|
||||
(load-theme (if window-system narf-default-theme narf-term-theme) t)
|
||||
(when window-system
|
||||
(set-frame-font (apply #'font-spec narf-default-font))
|
||||
(scroll-bar-mode -1) ; no scrollbar
|
||||
(tool-bar-mode -1) ; no toolbar
|
||||
(menu-bar-mode -1) ; no menubar
|
||||
(set-frame-parameter nil 'fullscreen 'fullboth)
|
||||
(fringe-mode '(2 . 8))
|
||||
(setq frame-title-format '(buffer-file-name "%f" ("%b"))))
|
||||
;; (setq frame-title-format '(buffer-file-name "%f" ("%b")))
|
||||
)
|
||||
|
||||
(setq show-paren-delay 0)
|
||||
|
||||
|
@ -33,11 +28,6 @@
|
|||
indicate-empty-lines nil
|
||||
fringes-outside-margins t) ; fringes on the other side of line numbers
|
||||
|
||||
(add-hook! after-init
|
||||
(defadvice save-buffers-kill-emacs (around no-query-kill-emacs activate)
|
||||
"Prevent annoying \"Active processes exist\" query when you quit Emacs."
|
||||
(flet ((process-list ())) ad-do-it)))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
(use-package nlinum ; line numbers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue