summaryrefslogtreecommitdiff
path: root/cider-grimoire.el
diff options
context:
space:
mode:
authorTianxiang Xiong <tianxiang.xiong@gmail.com>2017-07-17 02:20:16 -0700
committerBozhidar Batsov <bozhidar.batsov@gmail.com>2017-07-17 12:20:16 +0300
commitd55768ab4184e34291b39af75932b354e0279380 (patch)
tree27ab8c4f9c28673724eb04d512303e746f0e8253 /cider-grimoire.el
parent5854f3a5a1b8ba9bda48e635a79ff8eb41a29bce (diff)
[Fix #2049] Use `view-mode` for `cider-grimoire` buffer (#2050)
Diffstat (limited to 'cider-grimoire.el')
-rw-r--r--cider-grimoire.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/cider-grimoire.el b/cider-grimoire.el
index e7d993b1..8dc61733 100644
--- a/cider-grimoire.el
+++ b/cider-grimoire.el
@@ -86,7 +86,7 @@ opposite of what that option dictates."
(cider-popup-buffer-mode 1)
(when (fboundp 'markdown-toggle-fontify-code-blocks-natively)
(markdown-toggle-fontify-code-blocks-natively 1)))
- (read-only-mode +1)
+ (view-mode 1)
(goto-char (point-min))
(current-buffer)))