From f54c15bdf575377383923d368f5de2b5e56a7669 Mon Sep 17 00:00:00 2001 From: Craig Earls Date: Wed, 20 Feb 2013 16:13:27 -0700 Subject: Bug 884. Highlight first line of file --- lisp/ldg-xact.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/ldg-xact.el b/lisp/ldg-xact.el index 94a58542..f5a38ef6 100644 --- a/lisp/ldg-xact.el +++ b/lisp/ldg-xact.el @@ -42,7 +42,8 @@ within the transaction." (let ((end-pos pos) (beg-pos pos)) (backward-paragraph) - (forward-line) + (if (/= (point) (point-min)) + (forward-line)) (beginning-of-line) (setq beg-pos (point)) (forward-paragraph) -- cgit v1.2.3