Move `org-get-at-bol' into "org-macs.el"

* lisp/org.el (org-get-at-bol): Move...
* lisp/org-macs.el: ... here.
This commit is contained in:
Nicolas Goaziou 2017-09-18 21:26:18 +02:00
parent 32890ea5a5
commit 6e7d152699
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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)