浏览代码

Allow argument to `org-on-headling-p'

Carsten Dominik 15 年之前
父节点
当前提交
922c697870
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lisp/org.el

+ 2 - 2
lisp/org.el

@@ -16781,9 +16781,9 @@ interactive command with similar behavior."
   (save-excursion
     (null (re-search-backward "^\\*+ " nil t))))
 
-(defun org-on-heading-p ()
+(defun org-on-heading-p (&optional ignored)
   (outline-on-heading-p t))
-(defun org-at-heading-p ()
+(defun org-at-heading-p (&optional ignored)
   (outline-on-heading-p t))
 
 (defun org-at-heading-or-item-p ()