aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/cc-cmds.el (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (c-fill-paragraph): Don't delete whiteGerd Moellmann1999-12-281-1/+1
| | | | space in front of a C-style comment end.
* Installed version 5.26Gerd Moellmann1999-12-121-498/+1028
|
* (c-indent-command): Doc fix.Karl Heuer1999-03-301-1/+1
|
* (c-outline-level): BindDave Love1999-03-061-3/+5
| | | | buffer-invisibility-spec.
* Installed CC Mode 5.25.Barry A. Warsaw1999-02-081-194/+313
|
* (c-fill-paragraph): Bind fill-paragraph-function toRichard M. Stallman1998-03-081-20/+125
| | | | | | | | | | | | | | | | | | nil when calling fill-paragraph, to avoid bogus recursion which will signal an error. (c-fill-paragraph): Always keep point in the same relative position. Fill comment before point if there's nothing else on the same line. Fill block comments after code a little better. Try harder to find a good fill-prefix when point is on a block comment ender line. Use c-Java-javadoc-paragraph-start in block comments in Java mode. Leave block comment ender alone when c-hanging-comment-ender-p is nil and point is on that line. Detect paragraph-separate in multiparagraph comments. Fix for bug that may strip the `*' off `*/' if fill-prefix ends with `*' and c-hanging-comment-ender-p is t. Added filling of multiline string literals. Always return t to disable filling in any unhandled area, i.e. actual code where fill-paragraph only mess things up.
* (c-beginning-of-statement)Richard M. Stallman1998-02-171-74/+258
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (c-end-of-statement): Do not move by sentence in strings. (c-beginning-of-statement): Major rewrite. (c-beginning-of-defun, c-indent-defun): Use (c-point 'bod) instead of beginning-of-defun directly. (c-beginning-of-defun, c-end-of-defun): New commands. (c-beginning-of-statement): When moving forward by sentences, because we're either inside or at the start of a comment, be sure to limit movement to only within the extent of the comment. (c-electric-colon): Don't insert newlines before or after scope operators, regardless of the value of c-hanging-colons. (c-electric-brace): namespace-open and namespace-close braces can hang. (c-comment-line-break-function): When breaking a line-oriented comment, copy the comment leader from the previous line instead of hardcoding it to "// ". This ensures that whitespace between the slashes and the text is preserved. (c-electric-pound, c-electric-brace) (c-electric-slash, c-electric-star, c-electric-semi&comma) (c-electric-colon, c-electric-lt-gt, c-scope-operator) (c-electric-backspace, c-electric-delete) (c-indent-command, c-indent-exp, c-indent-defun) (c-backslash-region, c-fill-paragraph): Add "*" to interactive spec. (c-fill-paragraph): regexp-quote the fill-prefix when search forward for the end of line oriented comments. (c-backslash-region): Do not preserve the zmacs region (XEmacs).
* (c-progress-init, c-progress-fini):Karl Heuer1997-10-231-19/+33
| | | | | | | | | | 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.
* (c-beginning-of-statement):Karl Heuer1997-10-231-1/+1
| | | | | | | | | | | | | | | | | 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.
* (c-beginning-of-statement): Fixes in sentence movement to properlyRichard M. Stallman1997-09-081-25/+36
| | | | | | | | 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.
* (c-comment-line-break-function): In this function, and the defadvice,Richard M. Stallman1997-08-161-6/+7
| | | | | | | call indent-new-comment-line if not in a comment. (c-fill-paragraph): Remove conditional on obsolete variable c-double-slash-is-comments-p.
* (c-electric-brace): Make preserve-p nil at BOB.Richard M. Stallman1997-08-111-1/+2
|
* (indent-new-comment-line): Add advice for older Emacs versions if theyRichard M. Stallman1997-08-111-9/+52
| | | | | | | | | | 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.
* Comment change.Richard M. Stallman1997-08-091-1/+1
|
* Require cc-defs for the c-add-syntax macro.Richard M. Stallman1997-07-181-5/+10
| | | | | | | | (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.
* Initial revisionRichard M. Stallman1997-07-101-0/+1369