Stop adding my own functions to `shortdoc', since it kind of fails
This commit is contained in:
parent
b273f207d4
commit
48c854fb54
40
README.org
40
README.org
@ -1009,50 +1009,14 @@ Emacs. Try {{{kbd(C-h o)}}} instead of {{{kbd(C-h f)}}} or {{{kbd(C-h v)}}}.
|
||||
:END:
|
||||
|
||||
Listing [[lst:configure-shortdoc]] binds {{{kbd(C-h y)}}} to
|
||||
=short-doc-display-group= and defines a short documentation group for functions
|
||||
defined in this Org file.
|
||||
=shortdoc-display-group=.
|
||||
|
||||
#+caption[Configure =shortdoc=]:
|
||||
#+caption: Configure =shortdoc=.
|
||||
#+name: lst:configure-shortdoc
|
||||
#+begin_src emacs-lisp -n :results silent
|
||||
(when (fboundp 'shortdoc-display-group)
|
||||
(keymap-set help-map "y" #'shortdoc-display-group)
|
||||
(with-eval-after-load 'shortdoc
|
||||
;; Ensure defining the functions before documenting them.
|
||||
(define-short-documentation-group init
|
||||
"Advice"
|
||||
(advice-toggle :no-manual t)
|
||||
(toggle-eww-display-pdf-around :no-manual t)
|
||||
(toggle-ilog-timer-function-after :no-manual t)
|
||||
(toggle-keycast-log-update-buffer-override :no-manual t)
|
||||
(toggle-org-babel-python-format-session-value-override :no-manual t)
|
||||
"Face"
|
||||
(invert-default-face :no-manual t)
|
||||
(set-default-face-height :no-manual t)
|
||||
"Interaction"
|
||||
(enable-this-command :no-manual t)
|
||||
(narrow-or-widen-dwim :no-manual t)
|
||||
(org-narrow-to-table :no-manual t)
|
||||
"LaTeX"
|
||||
(biber-delete-cache :no-manual t)
|
||||
(update-lualatex-opentype-font-name-database :no-manual t)
|
||||
"Org"
|
||||
(by-backend :no-manual t)
|
||||
(by-backend-kbd-org-macro :no-manual t)
|
||||
;; (org-active-current-time-stamp :nomanual t)
|
||||
(org-babel-execute:latex-extra-header :no-manual t)
|
||||
(org-babel-execute:latex-header :no-manual t)
|
||||
(org-electric-dollar :no-manual t)
|
||||
(org-eval-emacs-lisp-setup-blocks :no-manual t)
|
||||
(org-eval-python-setup-blocks :no-manual t)
|
||||
(org-eval-infixed-blocks :no-manual t)
|
||||
(org-latex-engraved-source-block-filter :no-manual t)
|
||||
;; (org-inactive-current-time-stamp :nomanual t)
|
||||
;; (org-insert-source-block :nomanual t)
|
||||
(org-syntax-convert-keyword-case-to-lower :no-manual t)
|
||||
(smart-latex-engrave-org-source-blocks :no-manual t)
|
||||
(zero-all-org-src-blocks-indentation :no-manual t))))
|
||||
(keymap-set help-map "y" #'shortdoc-display-group))
|
||||
#+end_src
|
||||
|
||||
** [[info:info#Top][Info (info)]]
|
||||
|
Loading…
Reference in New Issue
Block a user