From 67a025ff4aa05a8d08d7e5aa9e9035a9e266084d Mon Sep 17 00:00:00 2001 From: rubikitch Date: Wed, 21 Jul 2010 22:41:48 +0900 Subject: [PATCH] anything.el (anything-previous-line): refactor: `if' in goto-char arg --- anything.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/anything.el b/anything.el index 871536d..292cd17 100644 --- a/anything.el +++ b/anything.el @@ -2344,9 +2344,9 @@ UNIT and DIRECTION." (let ((header-pos (anything-get-previous-header-pos)) (separator-pos (anything-get-previous-candidate-separator-pos))) (when header-pos - (if (or (null separator-pos) (< separator-pos header-pos)) ; first candidate - (goto-char header-pos) - (goto-char separator-pos)) + (goto-char (if (or (null separator-pos) (< separator-pos header-pos)) ; first + header-pos + separator-pos)) (forward-line 1))))) 'line 'previous)) -- 2.11.4.GIT