瀏覽代碼

oc: Replace an obsolete alias

* lisp/oc.el (org-cite--allowed-p): The replace removes the respective
  warning at compilation.
Marco Wahl 3 年之前
父節點
當前提交
d3d2e56bd6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lisp/oc.el

+ 1 - 1
lisp/oc.el

@@ -1423,7 +1423,7 @@ ARG is the prefix argument received when calling `org-open-at-point', or nil."
      ;; At the start of a list item is fine, as long as the bullet is unaffected.
      ((eq type 'item)
       (> (point) (+ (org-element-property :begin context)
-                    (org-get-indentation)
+                    (current-indentation)
                     (if (org-element-property :checkbox context)
                         5 1))))
      ;; Other elements are invalid.