diff options
| author | Wilfred Hughes <me@wilfred.me.uk> | 2019-03-03 22:32:39 +0000 |
|---|---|---|
| committer | Wilfred Hughes <me@wilfred.me.uk> | 2019-03-03 22:32:39 +0000 |
| commit | 72e93276fc0032e434f2acf62d8d63d51557e55b (patch) | |
| tree | 3f82efbc41ea26bcb9daa8745e662f964b05997f /helpful.el | |
| parent | 28bae3e2bd64c6b89c1607c7b1235b306fa7220b (diff) | |
Set comment-start inside helpful buffers
Diffstat (limited to 'helpful.el')
| -rw-r--r-- | helpful.el | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -144,7 +144,10 @@ can make Helpful very slow.") (setq helpful--sym symbol) (setq helpful--callable-p callable-p) (setq helpful--start-buffer current-buffer) - (setq helpful--associated-buffer current-buffer)) + (setq helpful--associated-buffer current-buffer) + (if (helpful--primitive-p symbol callable-p) + (setq-local comment-start "//") + (setq-local comment-start ";"))) buf)) (defface helpful-heading |
