Commit f5a9432f authored by Leo Liu's avatar Leo Liu

* progmodes/octave.el (octave-mode-map): Bind octave-indent-defun to

C-c C-q instead of C-M-q.
parent 2aeb3a1d
......@@ -2,6 +2,8 @@
* progmodes/octave.el (octave-indent-comment): Fix the indentation
of ### or %%%.
(octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
C-M-q.
2013-05-12 Leo Liu <sdl.web@gmail.com>
......
......@@ -96,9 +96,10 @@ parenthetical grouping.")
(defvar octave-mode-map
(let ((map (make-sparse-keymap)))
(define-key map "\M-." 'octave-find-definition)
(define-key map "\e\n" 'octave-indent-new-comment-line)
(define-key map "\M-\C-q" 'octave-indent-defun)
(define-key map "\M-." 'octave-find-definition)
(define-key map "\M-\C-j" 'octave-indent-new-comment-line)
;; C-c C-q is also used by cc modes for similar command
(define-key map "\C-c\C-q" 'octave-indent-defun)
(define-key map "\C-c\C-p" 'octave-previous-code-line)
(define-key map "\C-c\C-n" 'octave-next-code-line)
(define-key map "\C-c\C-a" 'octave-beginning-of-line)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment