mirror of
https://github.com/reactos/CMake.git
synced 2025-02-02 01:55:03 +00:00
Merge topic 'emacs-mode-compilation-warning'
82388543 cmake-mode.el: Replace use of obsolete function (since Emacs 24.3). ca684ccb cmake-mode.el: Fix byte-compilation warnings.
This commit is contained in:
commit
5f99e61cad
@ -113,6 +113,14 @@ set the path with these commands:
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
|
||||
;;
|
||||
;; Indentation increment.
|
||||
;;
|
||||
(defcustom cmake-tab-width 2
|
||||
"Number of columns to indent cmake blocks"
|
||||
:type 'integer
|
||||
:group 'cmake)
|
||||
|
||||
;;
|
||||
;; Line indentation function.
|
||||
;;
|
||||
@ -225,13 +233,6 @@ the indentation. Otherwise it retains the same position on the line"
|
||||
;;
|
||||
(defvar cmake-mode-hook nil)
|
||||
|
||||
;;
|
||||
;; Indentation increment.
|
||||
;;
|
||||
(defcustom cmake-tab-width 2
|
||||
"Number of columns to indent cmake blocks"
|
||||
:type 'integer)
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
|
||||
;; For compatibility with Emacs < 24
|
||||
@ -270,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))
|
||||
)
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user