]> git.eshelyaron.com Git - emacs.git/commit
(pcase): Add buttons to the macros' defs in the docstring of `pcase`
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 11 Feb 2024 22:43:37 +0000 (17:43 -0500)
committerEshel Yaron <me@eshelyaron.com>
Mon, 12 Feb 2024 07:02:13 +0000 (08:02 +0100)
commit93e9cb802592a597e6c2d5d1a97aaa9098dabf10
treeb64c81ed699ebd30ca62849460d466af4e7c5e4c
parent11dffbd78df208ae5200947ea464cbb31f8b5f42
(pcase): Add buttons to the macros' defs in the docstring of `pcase`

* lisp/emacs-lisp/pcase.el (pcase--find-macro-def-regexp): New var.
(find-function-regexp-alist): Add entry for `pcase-macro`s.
(help-fns--signature): Move declaration to where we know it is valid.
(pcase--make-docstring): Add buttons to jump to the definition
of Pcase macros.

(cherry picked from commit 052c2ce0284c5193c9d6768a45a9b3508af51230)
lisp/emacs-lisp/pcase.el