From d52aaaf51cb003f7bef6bb6049765846fe18210a Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Tue, 18 Aug 2009 07:55:13 +0100 Subject: [PATCH] Minor fix --- lisp/org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index 2e63f5340..b9f422954 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -4994,7 +4994,7 @@ in special contexts. (skip-chars-forward " \t\n") (beginning-of-line 1) ; in case this is an item ) - (setq eos (1- (point)))) + (setq eos (if (eobp) (point) (1- (point))))) ;; Find out what to do next and set `this-command' (cond ((= eos eoh)