+2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * progmodes/octave-mod.el (octave-mode-map): Use comment-dwim (bug#6829).
+ (octave-mode): Set comment-add.
+
2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
* cus-edit.el (custom-save-variables, custom-save-faces): Fix up
(define-key map ";" 'octave-electric-semi)
(define-key map " " 'octave-electric-space)
(define-key map "\n" 'octave-reindent-then-newline-and-indent)
- (define-key map "\e;" 'octave-indent-for-comment)
(define-key map "\e\n" 'octave-indent-new-comment-line)
(define-key map "\e\t" 'octave-complete-symbol)
(define-key map "\M-\C-a" 'octave-beginning-of-defun)
(setq comment-start-skip "\\s<+\\s-*")
(make-local-variable 'comment-indent-function)
(setq comment-indent-function 'octave-comment-indent)
+ (set (make-local-variable 'comment-add) 1)
(make-local-variable 'parse-sexp-ignore-comments)
(setq parse-sexp-ignore-comments t)