Reduce Emacs startup time - init.el - info
emacs-init-time to open a session showing (only) the *Messages* buffer - before - 39.1s after - 37.9s
This commit is contained in:
parent
91935cd5b3
commit
63e95db46b
13
init.el
13
init.el
|
@ -99,7 +99,12 @@
|
|||
(after magit-previous-section-recenter activate) (recenter 3))
|
||||
(ad-activate 'magit-goto-previous-section)
|
||||
|
||||
(require 'info)
|
||||
(with-eval-after-load 'info
|
||||
(cp-set-keys
|
||||
:keymap Info-mode-map
|
||||
:bindings
|
||||
`((,(kbd "b") Info-history-back)
|
||||
(,(kbd "f") Info-history-forward))))
|
||||
(defun cp-info-emacs ()
|
||||
(interactive) (info "(emacs)"))
|
||||
(defun cp-info-elisp ()
|
||||
|
@ -145,11 +150,7 @@
|
|||
(,(kbd "<f5> t") cp-insert-timestamp)
|
||||
(,(kbd "<f1> i s") (lambda () (interactive) (info "(stumpwm)")))))
|
||||
|
||||
(cp-set-keys
|
||||
:keymap Info-mode-map
|
||||
:bindings
|
||||
`((,(kbd "b") Info-history-back)
|
||||
(,(kbd "f") Info-history-forward)))
|
||||
|
||||
|
||||
(load "cp-mouse")
|
||||
|
||||
|
|
Loading…
Reference in New Issue