General cleanup
This commit is contained in:
parent
2f1e1ee880
commit
1c37aebd2e
9 changed files with 29 additions and 24 deletions
12
core/core.el
12
core/core.el
|
@ -149,15 +149,19 @@
|
|||
|
||||
|
||||
;;
|
||||
;; We put this on `after-init-hook' Allow errors to stop this from happening
|
||||
;; We add this to `after-init-hook' to allow errors to stop this advice
|
||||
(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."
|
||||
(cl-flet ((process-list ())) ad-do-it)))
|
||||
|
||||
(require 'server)
|
||||
(unless (server-running-p)
|
||||
(server-start))
|
||||
(when (display-graphic-p)
|
||||
(require 'server)
|
||||
(unless (server-running-p)
|
||||
(server-start)))
|
||||
|
||||
(defun display-startup-echo-area-message ()
|
||||
(message ":: Loaded in %s" (emacs-init-time)))
|
||||
|
||||
(provide 'core)
|
||||
;;; core.el ends here
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue