From 4cb2d1e32b16bb51cbe6e686c6955f6715bd000c Mon Sep 17 00:00:00 2001 From: Wilfred Hughes Date: Thu, 31 Aug 2017 21:40:33 +0100 Subject: Format docstring consistently, even if text-quoting-style is set Fixes #17 --- helpful.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/helpful.el b/helpful.el index dac3b1c..f7dbb0e 100644 --- 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)) -- cgit v1.0