diff options
| author | Nikita Bloshchanevich <nikblos@outlook.com> | 2021-03-15 12:02:04 +0100 |
|---|---|---|
| committer | Wilfred Hughes <me@wilfred.me.uk> | 2022-08-29 21:54:57 -0700 |
| commit | cb9beb0bd6857d9262c935e42a9346331cee4c45 (patch) | |
| tree | 5fc25b87425cb01476893f081e61c72989b4750d /helpful.el | |
| parent | 94a07d49a80f66f8ebc54a49a4b4f6899a65fbe3 (diff) | |
Unescape \= in signature docstring
`helpful--signature': unquote \=, as added by `help--quote-signature'.
An example where this is needed is `\(setf\ seq-first\)'.
Diffstat (limited to 'helpful.el')
| -rw-r--r-- | helpful.el | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2556,7 +2556,8 @@ For example, \"(some-func FOO &optional BAR)\"." source-sig) ;; If that's not set, use the usage specification in the ;; docstring, if present. - (docstring-sig) + (docstring-sig + (replace-regexp-in-string "\\\\=\\(['\\`‘’]\\)" "\\1" docstring-sig t)) (t ;; Otherwise, just use the signature from the source code. source-sig)))) |
