[Emacs] Defer loading of proced

This commit is contained in:
Ivan Malison 2017-08-24 12:06:03 -07:00
parent f52e3a97b2
commit 5da460ca32
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -361,11 +361,6 @@ but provide support for writing custom elisp.
(defun imalison:shut-up-around (function &rest args) (defun imalison:shut-up-around (function &rest args)
(shut-up (apply function args)))) (shut-up (apply function args))))
#+END_SRC #+END_SRC
*** pcache
#+BEGIN_SRC emacs-lisp
(use-package pcache
:demand t)
#+END_SRC
*** parse-csv *** parse-csv
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package parse-csv (use-package parse-csv
@ -1265,9 +1260,12 @@ This makes ~forward-word~ and ~backward-word~ understand snake and camel case.
** proced ** proced
proced is an top like utility that runs inside of emacs. The following sets auto updating automatically and makes the update interval faster. proced is an top like utility that runs inside of emacs. The following sets auto updating automatically and makes the update interval faster.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(require 'proced) (use-package proced
:defer t
:config
(progn
(setq proced-auto-update-interval 1) (setq proced-auto-update-interval 1)
(add-hook 'proced-mode-hook (lambda () (proced-toggle-auto-update +1))) (add-hook 'proced-mode-hook (lambda () (proced-toggle-auto-update +1)))))
#+END_SRC #+END_SRC
** Set epa program ** Set epa program
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp