diff options
author | Brad King <brad.king@kitware.com> | 2019-07-10 13:19:20 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-07-10 13:19:36 (GMT) |
commit | 27bd921b38121fb6be54e8b200252c2914049dea (patch) | |
tree | c216e84168f2e133e2bde5e147ce97c0a69a49b6 /Auxiliary | |
parent | 8c7a627f38f4eeeef81b9c5a89d20ddbcd3c1752 (diff) | |
parent | 8e1664d108a183a9e1e53a3a42bc58a2a0104d60 (diff) | |
download | CMake-27bd921b38121fb6be54e8b200252c2914049dea.zip CMake-27bd921b38121fb6be54e8b200252c2914049dea.tar.gz CMake-27bd921b38121fb6be54e8b200252c2914049dea.tar.bz2 |
Merge topic 'emacs/drop-23'
8e1664d108 cmake-mode.el: Drop support for Emacs < 24
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3520
Diffstat (limited to 'Auxiliary')
-rw-r--r-- | Auxiliary/cmake-mode.el | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/Auxiliary/cmake-mode.el b/Auxiliary/cmake-mode.el index e4fa6c1..caaf0d5 100644 --- a/Auxiliary/cmake-mode.el +++ b/Auxiliary/cmake-mode.el @@ -1,5 +1,7 @@ ;;; cmake-mode.el --- major-mode for editing CMake sources +;; Package-Requires: ((emacs "24.1")) + ; Distributed under the OSI-approved BSD 3-Clause License. See accompanying ; file Copyright.txt or https://cmake.org/licensing for details. @@ -224,17 +226,11 @@ the indentation. Otherwise it retains the same position on the line" ;; (defvar cmake-mode-hook nil) -;------------------------------------------------------------------------------ - -;; For compatibility with Emacs < 24 -(defalias 'cmake--parent-mode - (if (fboundp 'prog-mode) 'prog-mode 'fundamental-mode)) - ;;------------------------------------------------------------------------------ ;; Mode definition. ;; ;;;###autoload -(define-derived-mode cmake-mode cmake--parent-mode "CMake" +(define-derived-mode cmake-mode prog-mode "CMake" "Major mode for editing CMake source files." ; Setup font-lock mode. |