Fix typos
This commit is contained in:
parent
5afa3c9b61
commit
af5bc0da5a
11
README.org
11
README.org
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user