about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2022-01-04 14:40:26 -0600
committerCase Duckworth2022-01-04 14:40:26 -0600
commit148c2b46f4071d95f5b692197b1716e7357af000 (patch)
treefb0c7c9add27b66453e9e8015239958359622ab1
parentAdd +casing (diff)
downloademacs-148c2b46f4071d95f5b692197b1716e7357af000.tar.gz
emacs-148c2b46f4071d95f5b692197b1716e7357af000.zip
Add docstrings to advice
-rw-r--r--early-init.el2
-rw-r--r--init.el1
2 files changed, 2 insertions, 1 deletions
diff --git a/early-init.el b/early-init.el index 02f92c2..462643a 100644 --- a/early-init.el +++ b/early-init.el
@@ -21,8 +21,8 @@
21 21
22;;; Code: 22;;; Code:
23 23
24;; Message when loading a library.
25(define-advice load (:before (feature &rest _)) 24(define-advice load (:before (feature &rest _))
25 "Message the user when loading a library."
26 (with-temp-message (format "Now loading: '%s'" feature))) 26 (with-temp-message (format "Now loading: '%s'" feature)))
27 27
28;;; Speed up init 28;;; Speed up init
diff --git a/init.el b/init.el index f15bf31..ca360ca 100644 --- a/init.el +++ b/init.el
@@ -861,6 +861,7 @@ See also `crux-reopen-as-root-mode'."
861 "S-SPC" #'+elfeed-scroll-down-command) 861 "S-SPC" #'+elfeed-scroll-down-command)
862 (:hook #'reading-mode) 862 (:hook #'reading-mode)
863 (define-advice elfeed-show-entry (:after (&rest _)) 863 (define-advice elfeed-show-entry (:after (&rest _))
864 "Re-flow the entry a short time after showing it."
864 (run-at-time 0 nil #'elfeed-show-refresh)))) 865 (run-at-time 0 nil #'elfeed-show-refresh))))
865 866
866(setup (:straight elfeed-org) 867(setup (:straight elfeed-org)