From: Stefan Monnier Date: Thu, 25 May 2000 19:06:34 +0000 (+0000) Subject: (esc-map): Change ; to comment-dwim and use the new function X-Git-Tag: emacs-pretest-21.0.90~3697 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5589b330a0abf7243a8aec08a4a785b4691c6b44;p=emacs.git (esc-map): Change ; to comment-dwim and use the new function names for comment operations. --- diff --git a/lisp/bindings.el b/lisp/bindings.el index 6d75d691de0..5f4f0889936 100644 --- a/lisp/bindings.el +++ b/lisp/bindings.el @@ -661,10 +661,10 @@ language you are using." (define-key esc-map "\C-t" 'transpose-sexps) (define-key ctl-x-map "\C-t" 'transpose-lines) -(define-key esc-map ";" 'indent-for-comment) -(define-key esc-map "j" 'indent-new-comment-line) -(define-key esc-map "\C-j" 'indent-new-comment-line) -(define-key ctl-x-map ";" 'set-comment-column) +(define-key esc-map ";" 'comment-dwim) +(define-key esc-map "j" 'comment-indent-new-line) +(define-key esc-map "\C-j" 'comment-indent-new-line) +(define-key ctl-x-map ";" 'comment-set-column) (define-key ctl-x-map "f" 'set-fill-column) (define-key ctl-x-map "$" 'set-selective-display)