summaryrefslogtreecommitdiffstats
path: root/Auxiliary
diff options
context:
space:
mode:
authorJostein Kjønigsen <jostein@kjonigsen.net>2016-07-25 08:13:38 (GMT)
committerBrad King <brad.king@kitware.com>2016-08-01 19:13:43 (GMT)
commit82388543d2b7984fb98583817a3683f789c84cdd (patch)
tree56fe1d61a6429226903e60c7c679b58bc1826a15 /Auxiliary
parentca684ccb467d35cbebf7374746509788a5eb917d (diff)
downloadCMake-82388543d2b7984fb98583817a3683f789c84cdd.zip
CMake-82388543d2b7984fb98583817a3683f789c84cdd.tar.gz
CMake-82388543d2b7984fb98583817a3683f789c84cdd.tar.bz2
cmake-mode.el: Replace use of obsolete function (since Emacs 24.3).
Diffstat (limited to 'Auxiliary')
-rw-r--r--Auxiliary/cmake-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/Auxiliary/cmake-mode.el b/Auxiliary/cmake-mode.el
index b35d369..f29b59b 100644
--- a/Auxiliary/cmake-mode.el
+++ b/Auxiliary/cmake-mode.el
@@ -271,7 +271,7 @@ optional argument topic will be appended to the argument list."
(save-selected-window
(select-window (display-buffer buffer 'not-this-window))
(cmake-mode)
- (toggle-read-only t))
+ (read-only-mode 1))
)
)