diff --git a/lisp/org-macs.el b/lisp/org-macs.el index a20903023..d0005d7b6 100644 --- a/lisp/org-macs.el +++ b/lisp/org-macs.el @@ -372,6 +372,10 @@ the value in cdr." (cons (list (car flat) (cadr flat)) (org-make-parameter-alist (cddr flat))))) +(defsubst org-get-at-bol (property) + "Get text property PROPERTY at the beginning of line." + (get-text-property (point-at-bol) property)) + ;;; Local variables diff --git a/lisp/org.el b/lisp/org.el index 691be659d..2b764dba1 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -186,10 +186,6 @@ Stars are put in group 1 and the trimmed body in group 2.") (defvar ffap-url-regexp) ;Silence byte-compiler -(defsubst org-get-at-bol (property) - "Get text property PROPERTY at the beginning of line." - (get-text-property (point-at-bol) property)) - ;; load languages based on value of `org-babel-load-languages' (defvar org-babel-load-languages)