summaryrefslogtreecommitdiffstats
path: root/Auxiliary
diff options
context:
space:
mode:
authorcondy <condy0919@gmail.com>2020-11-18 17:11:36 (GMT)
committercondy <condy0919@gmail.com>2020-11-18 17:11:36 (GMT)
commit364a40025c963e52b3b800100fdeb0108ee6dd09 (patch)
tree4323812dd08e8ad9c14fd968224d0d317563afee /Auxiliary
parent6d098535a5d90f62a6448daec9a983318abe1354 (diff)
downloadCMake-364a40025c963e52b3b800100fdeb0108ee6dd09.zip
CMake-364a40025c963e52b3b800100fdeb0108ee6dd09.tar.gz
CMake-364a40025c963e52b3b800100fdeb0108ee6dd09.tar.bz2
cmake.el: enable view-mode when lookup
Diffstat (limited to 'Auxiliary')
-rw-r--r--Auxiliary/cmake-mode.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/Auxiliary/cmake-mode.el b/Auxiliary/cmake-mode.el
index caaf0d5..c3733ab 100644
--- a/Auxiliary/cmake-mode.el
+++ b/Auxiliary/cmake-mode.el
@@ -258,7 +258,8 @@ optional argument topic will be appended to the argument list."
(save-selected-window
(select-window (display-buffer buffer 'not-this-window))
(cmake-mode)
- (read-only-mode 1))
+ (read-only-mode 1)
+ (view-mode 1))
)
)