Pulling in the helpful package before using it
This commit is contained in:
parent
67cbe9883e
commit
c2009b56ec
3 changed files with 7 additions and 1 deletions
|
@ -849,6 +849,7 @@ Unfilling a paragraph joins all the lines in a paragraph into a single line. Tak
|
|||
* Help Operations
|
||||
While the ~C-h~ is easy enough, I am now in the habit of typing ~SPC h~ instead.
|
||||
Since I tweaked the help menu, I craft my own menu:
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(ha-leader
|
||||
"h" '(:ignore t :which-key "help")
|
||||
|
@ -881,6 +882,11 @@ Since I tweaked the help menu, I craft my own menu:
|
|||
"h C-g" '(keyboard-escape-quit :which-key t))
|
||||
#+end_src
|
||||
|
||||
Some of these call the [[file:ha-programming-elisp.org::*Helpful Functions][Helpful]] package:
|
||||
#+begin_src emacs-lisp
|
||||
(use-package helpful)
|
||||
#+end_src
|
||||
|
||||
Remember these keys in the *Help* buffer:
|
||||
- ~s~ :: view source of the function
|
||||
- ~i~ :: view info manual of the function
|
||||
|
|
|
@ -46,7 +46,7 @@ Show code examples with the [[https://github.com/xuchunyang/elisp-demos][elisp-d
|
|||
:config
|
||||
(advice-add 'describe-function-1 :after #'elisp-demos-advice-describe-function-1))
|
||||
#+end_src
|
||||
** Better Function Help
|
||||
** Helpful Functions
|
||||
Let’s take advantage of [[https://github.com/Wilfred/helpful][helpful]] package for getting more information into the =describe-function= call.
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
|
|
Loading…
Reference in a new issue