Fix typos

This commit is contained in:
Gerard Vermeulen 2023-11-25 12:11:40 +01:00
parent 5afa3c9b61
commit af5bc0da5a
1 changed files with 6 additions and 5 deletions

View File

@ -6321,15 +6321,16 @@ instance [[https://github.com/Fanael/rainbow-delimiters#readme][rainbow-delimite
(show-smartparens-global-mode +1))
#+end_src
#+caption[=Org= commit message helper]:
#+caption: =Org= commit message helper.
#+caption[Emacs Lisp commit message helper]:
#+caption: Emacs Lisp commit message helper.
#+name: lst:org-commit-message-helper
#+begin_src emacs-lisp -n :results silent
(with-eval-after-load 'smartparens-config
(defun defun-name-to-org-commit ()
"Copy and wrap the defun name for Org commit messages to the kill-ring.
(defun defun-name-to-elisp-commit ()
"Wrap the defun name for elisp commit messages to put it on the kill-ring.
BUG: `beginning-of-defun' may find any (`with-eval-after-load') toplevel sexp."
BUG: `beginning-of-defun' may find any (for instance `with-eval-after-load')
toplevel sexp."
(interactive)
(save-excursion
(beginning-of-defun)