diff options
| author | Gerd Moellmann | 1999-12-28 16:16:23 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 1999-12-28 16:16:23 +0000 |
| commit | a3d4e58757504cd644e5c587c101b79a2ee5b619 (patch) | |
| tree | 1e9e2087e6579d3c61bd3af1d27f57b36c169fe5 | |
| parent | 5731b491b2d0f392c801bb7f5ef140ecbc5c6fa0 (diff) | |
| download | emacs-a3d4e58757504cd644e5c587c101b79a2ee5b619.tar.gz emacs-a3d4e58757504cd644e5c587c101b79a2ee5b619.zip | |
(c-fill-paragraph): Don't delete white
space in front of a C-style comment end.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/progmodes/cc-cmds.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3d6eb9e36c3..1a8f0987689 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 1999-12-28 Gerd Moellmann <gerd@gnu.org> | ||
| 2 | |||
| 3 | * progmodes/cc-cmds.el (c-fill-paragraph): Don't delete white | ||
| 4 | space in front of a C-style comment end. | ||
| 5 | |||
| 1 | 1999-12-28 Eli Zaretskii <eliz@is.elta.co.il> | 6 | 1999-12-28 Eli Zaretskii <eliz@is.elta.co.il> |
| 2 | 7 | ||
| 3 | * startup.el (command-line-1): Make mode line mouse-sensitive for | 8 | * 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." | |||
| 2088 | ;; along with surrounding ws. | 2088 | ;; along with surrounding ws. |
| 2089 | nil | 2089 | nil |
| 2090 | (goto-char ender-start)) | 2090 | (goto-char ender-start)) |
| 2091 | (skip-chars-backward " \t\r\n") | 2091 | ;(skip-chars-backward " \t\r\n") |
| 2092 | (when (/= (point) ender-start) | 2092 | (when (/= (point) ender-start) |
| 2093 | (insert ?x) ; Insert first to keep marks right. | 2093 | (insert ?x) ; Insert first to keep marks right. |
| 2094 | (delete-region (point) (1+ ender-start)) | 2094 | (delete-region (point) (1+ ender-start)) |