1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-20 12:40:56 -08:00
Commit graph

9 commits

Author SHA1 Message Date
Karl Heuer
a7c7b186ff (c-progress-init, c-progress-fini):
Be slient if c-progress-interval
is nil.

(c-comment-line-break-function):
Fix for when comment starts at
comment-column and there is non-whitespace preceding this on the
current line.
1997-10-23 07:48:34 +00:00
Karl Heuer
11e9410ecf (c-beginning-of-statement):
Fixes in sentence movement to properly
handle M-e moving forward into a comment when looking at preceding
whitespace, and M-a moving backward into comment when looking at
following whitespace.

Uncommented the looking-at call in the
sentence-flag clause so that moving by forward-sentence when looking
at the beginning of a comment works again.  A previous log message in
cc-mode.el indicates this was commented out "because
c-beginning-of-statement-1 should do the right thing", but clearly it
doesn't.

I don't know if this breaks something else, because I can't figure out
why it was commented out in the first place.
1997-10-23 07:32:37 +00:00
Richard M. Stallman
fd3b1ef655 (c-beginning-of-statement): Fixes in sentence movement to properly
handle M-e moving forward into a comment when looking at preceding
whitespace, and M-a moving backward into comment when looking at
following whitespace.

(c-comment-line-break-function): Don't break line in the middle of a string.
1997-09-08 03:20:02 +00:00
Richard M. Stallman
0f0b1be199 (c-comment-line-break-function): In this function, and the defadvice,
call indent-new-comment-line if not in a comment.

(c-fill-paragraph): Remove conditional on obsolete variable
c-double-slash-is-comments-p.
1997-08-16 03:40:20 +00:00
Richard M. Stallman
811fd07a2f (c-electric-brace): Make preserve-p nil at BOB. 1997-08-11 23:51:04 +00:00
Richard M. Stallman
0fc3821efe (indent-new-comment-line): Add advice for older Emacs versions if they
don't have the variable comment-line-break-function.

(c-electric-slash): Make this work as the final slash in a */ block
oriented comment closing token.

(c-comment-line-break-function): New function for proposed
mode-specific comment-line-break-function variable.
1997-08-11 22:09:45 +00:00
Richard M. Stallman
5cc9696990 Comment change. 1997-08-09 18:30:01 +00:00
Richard M. Stallman
c93a62d8c1 Require cc-defs for the c-add-syntax macro.
(c-electric-backspace): Must get 'supercede property
values to work with delsel and pending-del.

(c-electric-brace): Fix ebola eradication consequence
in the preserve-p test.
1997-07-18 02:10:48 +00:00
Richard M. Stallman
785eecbbba Initial revision 1997-07-10 07:54:06 +00:00