diff --git a/README.org b/README.org index 042b823..50305e8 100644 --- a/README.org +++ b/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)