Browse Source

cmake-mode.el: Replace use of obsolete function (since Emacs 24.3).

Jostein Kjønigsen 9 years ago
parent
commit
82388543d2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Auxiliary/cmake-mode.el

+ 1 - 1
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))
     )
   )