aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--helpful.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/helpful.el b/helpful.el
index c1b5550..8710e1c 100644
--- a/helpful.el
+++ b/helpful.el
@@ -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))))