Преглед изворни кода

org-element: Fix af9c0fbf9143883ce31478a137a60cc69428d4d4
* lisp/org-element.el (org-element-at-point): Fix commit
af9c0fbf9143883ce31478a137a60cc69428d4d4.

Nicolas Goaziou пре 11 година
родитељ
комит
29c33591a2
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      lisp/org-element.el

+ 1 - 0
lisp/org-element.el

@@ -4740,6 +4740,7 @@ first element of current section."
 	      ;; belongs to the headline.
 	      (throw 'exit
 		     (progn (skip-chars-backward " \r\t\n")
+			    (beginning-of-line)
 			    (if (not keep-trail)
 				(org-element-headline-parser (point-max) t)
 			      (list (org-element-headline-parser