From 5589b330a0abf7243a8aec08a4a785b4691c6b44 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Thu, 25 May 2000 19:06:34 +0000 Subject: [PATCH] (esc-map): Change ; to comment-dwim and use the new function names for comment operations. --- lisp/bindings.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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) -- 2.39.5