(org-columns-eval): Use forward-line.
authorThien-Thi Nguyen <ttn@gnuvola.org>
Thu, 18 Oct 2007 16:07:35 +0000 (16:07 +0000)
committerThien-Thi Nguyen <ttn@gnuvola.org>
Thu, 18 Oct 2007 16:07:35 +0000 (16:07 +0000)
lisp/ChangeLog
lisp/textmodes/org.el

index 48774e3..24be437 100644 (file)
@@ -2,6 +2,8 @@
 
        * textmodes/artist.el (artist-previous-line, artist-next-line):
        * dired.el (dired-next-line, dired-previous-line):
+       * progmodes/delphi.el (delphi-newline):
+       * textmodes/org.el (org-columns-eval):
        Use forward-line.
 
 2007-10-18  Juanma Barranquero  <lekktu@gmail.com>
index 626d8c6..5487609 100644 (file)
@@ -15050,8 +15050,7 @@ Where possible, use the standard interface for changing this line."
 (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))))