changeset 56073:dc1d86d80c20

Reindent `diff-current-defun'.
author Kai Großjohann <kgrossjo@eu.uu.net>
date Sun, 13 Jun 2004 16:49:55 +0000
parents efb98a4ceb2b
children 7aab74a19427
files lisp/diff-mode.el
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/diff-mode.el	Sun Jun 13 16:48:44 2004 +0000
+++ b/lisp/diff-mode.el	Sun Jun 13 16:49:55 2004 +0000
@@ -1248,12 +1248,12 @@
 (defun diff-current-defun ()
   "Find the name of function at point.
 For use in `add-log-current-defun-function'."
-    (save-excursion
-      (when (looking-at diff-hunk-header-re)
-	(forward-line 1)
-	(while (and (looking-at " ") (not (zerop (forward-line 1))))))
-  (destructuring-bind (buf line-offset pos src dst &optional switched)
-      (diff-find-source-location)
+  (save-excursion
+    (when (looking-at diff-hunk-header-re)
+      (forward-line 1)
+      (while (and (looking-at " ") (not (zerop (forward-line 1))))))
+    (destructuring-bind (buf line-offset pos src dst &optional switched)
+	(diff-find-source-location)
       (beginning-of-line)
       (or (when (memq (char-after) '(?< ?-))
 	    ;; Cursor is pointing at removed text.  This could be a removed