From a3d4e58757504cd644e5c587c101b79a2ee5b619 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Tue, 28 Dec 1999 16:16:23 +0000 Subject: [PATCH] (c-fill-paragraph): Don't delete white space in front of a C-style comment end. --- lisp/ChangeLog | 5 +++++ lisp/progmodes/cc-cmds.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3d6eb9e36c3..1a8f0987689 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +1999-12-28 Gerd Moellmann + + * progmodes/cc-cmds.el (c-fill-paragraph): Don't delete white + space in front of a C-style comment end. + 1999-12-28 Eli Zaretskii * startup.el (command-line-1): Make mode line mouse-sensitive for diff --git a/lisp/progmodes/cc-cmds.el b/lisp/progmodes/cc-cmds.el index 05d2599d957..6e0608db392 100644 --- a/lisp/progmodes/cc-cmds.el +++ b/lisp/progmodes/cc-cmds.el @@ -2088,7 +2088,7 @@ Optional prefix ARG means justify paragraph as well." ;; along with surrounding ws. nil (goto-char ender-start)) - (skip-chars-backward " \t\r\n") + ;(skip-chars-backward " \t\r\n") (when (/= (point) ender-start) (insert ?x) ; Insert first to keep marks right. (delete-region (point) (1+ ender-start)) -- 2.39.5