From a8d0c7ad0aa7d9355117337046763e620b908907 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Mon, 24 Dec 2018 14:45:06 -0500 Subject: [PATCH] [emacs][wip] break out Help and ElDoc --- init.org | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/init.org b/init.org index 8484b7b..dc1e7dd 100644 --- a/init.org +++ b/init.org @@ -1194,6 +1194,16 @@ There's no way I could top that, so I won't attempt to. :hook (dired-mode . dired-hide-details-mode)) #+end_src +*** Help + +#+begin_src emacs-lisp +(use-feature help + :defer t + :config + (temp-buffer-resize-mode) + (setq help-window-select t)) +#+end_src + *** Borg's =layer/essentials= :PROPERTIES: :CUSTOM_ID: borg-essentials @@ -1205,16 +1215,6 @@ TODO: break this giant source block down into individual org sections. (use-package dash :config (dash-enable-font-lock)) -(use-feature eldoc - :when (version< "25" emacs-version) - :config (global-eldoc-mode)) - -(use-feature help - :defer t - :config - (temp-buffer-resize-mode) - (setq help-window-select t)) - (progn ; `isearch' (setq isearch-allow-scroll t)) @@ -1273,6 +1273,16 @@ Highlight uncommitted changes in the left fringe. :hook (magit-post-refresh . diff-hl-magit-post-refresh)) #+end_src +** ElDoc + +Display Lisp objects at point in the echo area. + +#+begin_src emacs-lisp +(use-feature eldoc + :when (version< "25" emacs-version) + :config (global-eldoc-mode)) +#+end_src + ** =savehist= Save minibuffer history. -- 2.20.1