summaryrefslogtreecommitdiffstats
path: root/Auxiliary/cmake-mode.el
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-11-18 14:32:29 (GMT)
committerBrad King <brad.king@kitware.com>2013-11-18 14:36:28 (GMT)
commit0f21261868b3b02ccc65314c957f3102f9edc4ef (patch)
tree2fe9e42e9aa49c57d1763ac7a7228f723ce0f371 /Auxiliary/cmake-mode.el
parent2596fae8ba4e84db9e490c56556c3458fafd9f7e (diff)
downloadCMake-0f21261868b3b02ccc65314c957f3102f9edc4ef.zip
CMake-0f21261868b3b02ccc65314c957f3102f9edc4ef.tar.gz
CMake-0f21261868b3b02ccc65314c957f3102f9edc4ef.tar.bz2
cmake-mode.el: drop reserved keybindings (#14576)
The keybindings added by commit 301e67e3 (cmake-mode.el: add local keybindings, 2012-09-20) overlap the reserved C-c space: http://www.gnu.org/software/emacs/manual/html_node/elisp/Key-Binding-Conventions.html Revert the commit to drop them. Reported-by: Paul Smith <paul@mad-scientist.net> Reviewed-by: Eric NOULARD <eric.noulard@gmail.com>
Diffstat (limited to 'Auxiliary/cmake-mode.el')
-rw-r--r--Auxiliary/cmake-mode.el18
1 files changed, 1 insertions, 17 deletions
diff --git a/Auxiliary/cmake-mode.el b/Auxiliary/cmake-mode.el
index 6feed94..79d2319 100644
--- a/Auxiliary/cmake-mode.el
+++ b/Auxiliary/cmake-mode.el
@@ -230,26 +230,13 @@ the indentation. Otherwise it retains the same position on the line"
;;
(defvar cmake-tab-width 2)
-;;
-;; Keymap.
-;;
-(defvar cmake-mode-map
- (let ((map (make-sparse-keymap)))
- (define-key map "\C-ch" 'cmake-help-command)
- (define-key map "\C-cl" 'cmake-help-list-commands)
- (define-key map "\C-cu" 'unscreamify-cmake-buffer)
- map)
- "Keymap used in cmake-mode buffers.")
-
;------------------------------------------------------------------------------
;;
;; CMake mode startup function.
;;
(defun cmake-mode ()
- "Major mode for editing CMake listfiles.
-
-\\{cmake-mode-map}"
+ "Major mode for editing CMake listfiles."
(interactive)
(kill-all-local-variables)
(setq major-mode 'cmake-mode)
@@ -276,9 +263,6 @@ the indentation. Otherwise it retains the same position on the line"
(make-local-variable 'comment-start)
(setq comment-start "#")
- ; Setup keymap.
- (use-local-map cmake-mode-map)
-
; Run user hooks.
(run-hooks 'cmake-mode-hook))