emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/progmodes/cc-cmds.el


From: Martin Stjernholm
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/cc-cmds.el
Date: Wed, 24 Sep 2003 09:55:08 -0400

Index: emacs/lisp/progmodes/cc-cmds.el
diff -c emacs/lisp/progmodes/cc-cmds.el:1.33 
emacs/lisp/progmodes/cc-cmds.el:1.34
*** emacs/lisp/progmodes/cc-cmds.el:1.33        Mon Sep  1 11:45:34 2003
--- emacs/lisp/progmodes/cc-cmds.el     Wed Sep 24 09:55:07 2003
***************
*** 509,515 ****
          ;; this case.  So the marker that we put after "else" would
          ;; end up before it.
          (setq delete-temp-newline
!               (cons (copy-marker (c-point 'eopl) t)
                      (point-marker))))
        (unwind-protect
            (progn
--- 509,517 ----
          ;; this case.  So the marker that we put after "else" would
          ;; end up before it.
          (setq delete-temp-newline
!               (cons (save-excursion
!                       (c-backward-syntactic-ws)
!                       (copy-marker (point) t))
                      (point-marker))))
        (unwind-protect
            (progn
***************
*** 2671,2677 ****
  
                   ;; There's no nonempty prefix on the line after the
                   ;; comment opener.  If the line is empty, or if the
!                  ;; text on has less or equal indentation than the
                   ;; comment starter we assume it's an unclosed
                   ;; comment starter, i.e. that
                   ;; `c-block-comment-prefix' should be used.
--- 2673,2679 ----
  
                   ;; There's no nonempty prefix on the line after the
                   ;; comment opener.  If the line is empty, or if the
!                  ;; text on it has less or equal indentation than the
                   ;; comment starter we assume it's an unclosed
                   ;; comment starter, i.e. that
                   ;; `c-block-comment-prefix' should be used.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]