diff options
Diffstat (limited to 'lisp/org/org-macs.el')
-rw-r--r-- | lisp/org/org-macs.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/org/org-macs.el b/lisp/org/org-macs.el index bb0562dde06..cf0eb48f2da 100644 --- a/lisp/org/org-macs.el +++ b/lisp/org/org-macs.el @@ -1124,11 +1124,11 @@ the value in cadr." (defsubst org-get-at-bol (property) "Get text property PROPERTY at the beginning of line." - (get-text-property (point-at-bol) property)) + (get-text-property (line-beginning-position) property)) (defun org-get-at-eol (property n) "Get text property PROPERTY at the end of line less N characters." - (get-text-property (- (point-at-eol) n) property)) + (get-text-property (- (line-end-position) n) property)) (defun org-find-text-property-in-string (prop s) "Return the first non-nil value of property PROP in string S." |