From 2f9edc8be5e26b08bfbe1fe8569ad110cbf21892 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kai=20Gro=C3=9Fjohann?= Date: Sun, 13 Jun 2004 16:49:55 +0000 Subject: [PATCH] Reindent `diff-current-defun'. --- lisp/diff-mode.el | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lisp/diff-mode.el b/lisp/diff-mode.el index 3e6d1b7ac57..26ff5441baf 100644 --- a/lisp/diff-mode.el +++ b/lisp/diff-mode.el @@ -1248,12 +1248,12 @@ If the prefix arg is bigger than 8 (for example with \\[universal-argument] \\[u (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 -- 2.39.5