diff options
| author | Wilfred Hughes <me@wilfred.me.uk> | 2017-08-31 21:40:33 +0100 |
|---|---|---|
| committer | Wilfred Hughes <me@wilfred.me.uk> | 2017-08-31 21:41:17 +0100 |
| commit | 4cb2d1e32b16bb51cbe6e686c6955f6715bd000c (patch) | |
| tree | e7aa2e8ee99d2655c6ce3c2fd54270e189f437ee | |
| parent | 4b2c3f4e7a9fb41fe424fe89e46580d5f7751d69 (diff) | |
Format docstring consistently, even if text-quoting-style is set
Fixes #17
| -rw-r--r-- | helpful.el | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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)) |
