From 364a40025c963e52b3b800100fdeb0108ee6dd09 Mon Sep 17 00:00:00 2001 From: condy Date: Thu, 19 Nov 2020 01:11:36 +0800 Subject: cmake.el: enable view-mode when lookup --- Auxiliary/cmake-mode.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)) ) ) -- cgit v0.12