]> git.eshelyaron.com Git - emacs.git/commitdiff
(esc-map): Change ; to comment-dwim and use the new function
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 25 May 2000 19:06:34 +0000 (19:06 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 25 May 2000 19:06:34 +0000 (19:06 +0000)
names for comment operations.

lisp/bindings.el

index 6d75d691de08e44f771bdbc72eec12d99b1c0bb9..5f4f0889936ed7a79026dbb06bb43aa85a1e4c18 100644 (file)
@@ -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)