changeset 85410:f8c52ed3968f

(org-columns-eval): Use forward-line.
author Thien-Thi Nguyen <ttn@gnuvola.org>
date Thu, 18 Oct 2007 16:06:16 +0000
parents 4c909d000629
children 065fa2d96c5a
files lisp/textmodes/org.el
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/org.el	Thu Oct 18 16:05:45 2007 +0000
+++ b/lisp/textmodes/org.el	Thu Oct 18 16:06:16 2007 +0000
@@ -15050,8 +15050,7 @@
 (defun org-columns-eval (form)
   (let (hidep)
     (save-excursion
-      (beginning-of-line 1)
-      (next-line 1)
+      (forward-line 1)
       (setq hidep (org-on-heading-p 1)))
     (eval form)
     (and hidep (hide-entry))))