From 5da460ca32a7b68a2ef44436843bcd9aa5c2f8f3 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 24 Aug 2017 12:06:03 -0700 Subject: [PATCH] [Emacs] Defer loading of proced --- dotfiles/emacs.d/README.org | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index 32e799ee..a6a23d7c 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -361,11 +361,6 @@ but provide support for writing custom elisp. (defun imalison:shut-up-around (function &rest args) (shut-up (apply function args)))) #+END_SRC -*** pcache -#+BEGIN_SRC emacs-lisp -(use-package pcache - :demand t) -#+END_SRC *** parse-csv #+BEGIN_SRC emacs-lisp (use-package parse-csv @@ -1265,9 +1260,12 @@ This makes ~forward-word~ and ~backward-word~ understand snake and camel case. ** proced 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 -(require 'proced) -(setq proced-auto-update-interval 1) -(add-hook 'proced-mode-hook (lambda () (proced-toggle-auto-update +1))) +(use-package proced + :defer t + :config + (progn + (setq proced-auto-update-interval 1) + (add-hook 'proced-mode-hook (lambda () (proced-toggle-auto-update +1))))) #+END_SRC ** Set epa program #+BEGIN_SRC emacs-lisp