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: Sun, 22 May 2005 20:04:00 -0400

Index: emacs/lisp/progmodes/cc-cmds.el
diff -c emacs/lisp/progmodes/cc-cmds.el:1.37 
emacs/lisp/progmodes/cc-cmds.el:1.38
*** emacs/lisp/progmodes/cc-cmds.el:1.37        Wed Aug 11 16:22:21 2004
--- emacs/lisp/progmodes/cc-cmds.el     Mon May 23 00:03:59 2005
***************
*** 2441,2447 ****
                      (delete-region (point) end)
                      (indent-to column 1)))
  
!              (= (forward-line 1) 0))))
  
        ;; Make sure there are backslashes with at least one space in
        ;; front of them.
--- 2441,2448 ----
                      (delete-region (point) end)
                      (indent-to column 1)))
  
!              (zerop (forward-line 1)))
!            (bolp)))                   ; forward-line has funny behavior at 
eob.
  
        ;; Make sure there are backslashes with at least one space in
        ;; front of them.
***************
*** 2466,2472 ****
                   (insert ?\\)
                 (insert ?\  ?\\)))
  
!            (= (forward-line 1) 0)))))))
  
  (defun c-delete-backslashes-forward (to-mark point-pos)
    ;; This function does not do any hidden buffer changes.
--- 2467,2474 ----
                   (insert ?\\)
                 (insert ?\  ?\\)))
  
!            (zerop (forward-line 1)))
!          (bolp))))))                  ; forward-line has funny behavior at 
eob.
  
  (defun c-delete-backslashes-forward (to-mark point-pos)
    ;; This function does not do any hidden buffer changes.
***************
*** 2481,2487 ****
                         (skip-chars-backward " \t" (if (>= (point) point-pos)
                                                        point-pos))
                         (point))))
!            (= (forward-line 1) 0)))))
  
  
  
--- 2483,2490 ----
                         (skip-chars-backward " \t" (if (>= (point) point-pos)
                                                        point-pos))
                         (point))))
!            (zerop (forward-line 1)))
!          (bolp))))                    ; forward-line has funny behavior at 
eob.
  
  
  




reply via email to

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