about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--init.el16
1 files changed, 16 insertions, 0 deletions
diff --git a/init.el b/init.el index a681f42..5e72e56 100644 --- a/init.el +++ b/init.el
@@ -330,6 +330,13 @@
330 (defun hook--gc-when-unfocused () 330 (defun hook--gc-when-unfocused ()
331 (acdw/when-unfocused #'garbage-collect))) 331 (acdw/when-unfocused #'garbage-collect)))
332 332
333;;;; Help
334;; (define-key acdw/map (kbd "C-h") 'ehelp-command)
335;; ;; for some reason, `ehelp.el' doesn't include a version for `describe-symbol'.
336;; (defun electric-describe-symbol ()
337;; (interactive)
338;; (electric-helpify 'describe-symbol))
339;; (define-key ehelp-map "o" #'electric-describe-symbol)
333;;;; Etc. good defaults 340;;;; Etc. good defaults
334(setc custom-file (acdw/in-dir "custom.el") 341(setc custom-file (acdw/in-dir "custom.el")
335 inhibit-startup-screen t 342 inhibit-startup-screen t
@@ -550,6 +557,15 @@ call `zzz-to-char'."
550 (:option outline-minor-mode-prefix "") 557 (:option outline-minor-mode-prefix "")
551 (:hook-into emacs-lisp-mode)) 558 (:hook-into emacs-lisp-mode))
552 559
560
561;;;;; Helpful
562(setup (:straight helpful)
563 (:advise describe-function :override #'helpful-callable
564 describe-variable :override #'helpful-variable
565 describe-command :override #'helpful-callable
566 describe-key :override #'helpful-key
567 describe-symbol :override #'helpful-symbol))
568
553;;;; Utilities 569;;;; Utilities
554 570
555;;;;; 0x0 -- upload files to a nullpointer 571;;;;; 0x0 -- upload files to a nullpointer