Changeset 3988 for vendor/emacs-CVS_HEAD/lisp/add-log.el
- Timestamp:
- 11/26/05 08:33:26 (3 years ago)
- Files:
-
- vendor/emacs-CVS_HEAD/lisp/add-log.el (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
vendor/emacs-CVS_HEAD/lisp/add-log.el
r3939 r3988 552 552 (insert (nth (random (length new-entries)) 553 553 new-entries) 554 "\n\n")554 hard-newline hard-newline) 555 555 (forward-line -1))) 556 556 … … 585 585 (while (and (not (eobp)) (looking-at "^\\s *$")) 586 586 (delete-region (point) (line-beginning-position 2))) 587 (insert -char ?\n 2)587 (insert hard-newline hard-newline) 588 588 (forward-line -2) 589 589 (indent-relative-maybe)) … … 594 594 (while (and (not (eobp)) (looking-at "^\\s *$")) 595 595 (delete-region (point) (line-beginning-position 2))) 596 (insert -char ?\n 3)596 (insert hard-newline hard-newline hard-newline) 597 597 (forward-line -2) 598 598 (indent-to left-margin) … … 861 861 (point)))) 862 862 (if (looking-at "^[+-]") 863 ;; C++.863 ;; Objective-C 864 864 (change-log-get-method-definition) 865 865 ;; Ordinary C function syntax. … … 902 902 (setq middle (point)) 903 903 (forward-word -1) 904 ;; Is this C++ method? 905 (when (and (< 2 middle) 906 (string= (buffer-substring (- middle 2) 907 middle) 908 "::")) 909 ;; Include "classname::". 910 (setq middle (point))) 904 911 ;; Ignore these subparts of a class decl 905 912 ;; and move back to the class name itself. … … 1060 1067 (or (<= (1- (point)) (point-min)) 1061 1068 (= ?\n (char-before (1- (point))))))) 1062 (insert "\n"))1069 (insert hard-newline)) 1063 1070 ;; Move to the end of it to terminate outer loop. 1064 1071 (with-current-buffer other-buf
