Browse Source

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

Carsten Dominik 15 năm trước cách đây
mục cha
commit
922c697870
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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 ()