diff options
author | Alan Pearce | 2013-05-18 12:58:59 +0100 |
---|---|---|
committer | Alan Pearce | 2013-05-18 12:58:59 +0100 |
commit | 43fe8ed5db5744133870ea28854de8de9b555a04 (patch) | |
tree | ad329827be5530808cee4b88d34b48d42cb9c56e /emacs | |
parent | af49c8fc39c05846a144e4ecd58704c8e7079db5 (diff) | |
download | nixfiles-43fe8ed5db5744133870ea28854de8de9b555a04.tar.lz nixfiles-43fe8ed5db5744133870ea28854de8de9b555a04.tar.zst nixfiles-43fe8ed5db5744133870ea28854de8de9b555a04.zip |
Emacs: remove unnecessary :idle forms
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/init.el | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/emacs/init.el b/emacs/init.el index 09b62313..8bc85e8c 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -238,8 +238,6 @@ Values: `desktop', `server', `laptop'") filename-and-process))))) (use-package uniquify - :defer t - :idle (require 'uniquify) :config (progn (setq uniquify-buffer-name-style 'reverse uniquify-separator "/" @@ -325,18 +323,15 @@ Values: `desktop', `server', `laptop'") :bind (("C-c h" . rgr/toggle-context-help))) (use-package which-func - :defer t - :idle (which-function-mode) - :init (setq which-func-modes t)) + :init (which-function-mode) + :config (setq which-func-modes t)) ;;;; Files (prefer-coding-system 'utf-8-auto-unix) (set-default-coding-systems 'utf-8-auto-unix) (setq-default buffer-file-coding-system 'utf-8-auto-unix) -(use-package autorevert - :defer t - :idle (global-auto-revert-mode 1)) +(global-auto-revert-mode 1) (add-hook 'before-save-hook #'delete-trailing-whitespace) @@ -374,8 +369,6 @@ Values: `desktop', `server', `laptop'") (message "File '%s' successfully removed" filename)))))) (use-package saveplace - :defer t - :idle (require 'saveplace) :config (progn (setq-default save-place t) (setq save-place-file (expand-file-name ".saveplace" user-emacs-directory)))) @@ -463,9 +456,7 @@ Values: `desktop', `server', `laptop'") ;;;; Minibuffer (setq enable-recursive-minibuffers t) -(use-package mb-depth - :defer t - :idle (minibuffer-depth-indicate-mode t)) +(minibuffer-depth-indicate-mode t) (if (daemonp) (defalias 'exit-emacs #'delete-frame) @@ -821,8 +812,6 @@ Also returns nil if pid is nil." (use-package undo-tree :ensure t - :idle (require 'undo-tree) - :defer t :config (progn (global-undo-tree-mode) ;; Keep region when undoing in region |