summaryrefslogtreecommitdiff
path: root/cider-browse-spec.el
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.com>2017-07-09 10:12:32 +0300
committerBozhidar Batsov <bozhidar@batsov.com>2017-07-09 10:12:32 +0300
commit24ee93eac9c53fa007502d9c599d147d08964b31 (patch)
treeb389ab6790ce2c6cdff63455e70ac2c158e294ba /cider-browse-spec.el
parentff4c0ed9bc70c3f48ad74d08c9f7c97e91b2553c (diff)
Remove some redundant code from modes inheriting from special-mode
All of those were making their buffers read-only explicitly, but that behaviour is automatically inherited from special-mode.
Diffstat (limited to 'cider-browse-spec.el')
-rw-r--r--cider-browse-spec.el1
1 files changed, 0 insertions, 1 deletions
diff --git a/cider-browse-spec.el b/cider-browse-spec.el
index c4fabadf..cb85ecb0 100644
--- a/cider-browse-spec.el
+++ b/cider-browse-spec.el
@@ -78,7 +78,6 @@ For example: (\":ring.request/header-name\" \":ring.request/headers\" \":ring/re
"Major mode for browsing Clojure specs.
\\{cider-browse-spec-mode-map}"
- (setq buffer-read-only t)
(setq-local electric-indent-chars nil)
(when cider-special-mode-truncate-lines
(setq-local truncate-lines t)))