commit 4cb2d1e32b16bb51cbe6e686c6955f6715bd000c
parent 4b2c3f4e7a9fb41fe424fe89e46580d5f7751d69
Author: Wilfred Hughes <me@wilfred.me.uk>
Date: Thu, 31 Aug 2017 21:40:33 +0100
Format docstring consistently, even if text-quoting-style is set
Fixes #17
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/helpful.el b/helpful.el
@@ -652,7 +652,8 @@ For example, \"(some-func FOO &optional BAR)\"."
;; TODO: Info mentions, e.g. `define-derived-mode' or `defface'.
(defun helpful--docstring (sym callable-p)
"Get the docstring for SYM."
- (let (docstring)
+ (let ((text-quoting-style 'grave)
+ docstring)
(if callable-p
(progn
(setq docstring (documentation sym))