Prechádzať zdrojové kódy

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

Carsten Dominik 15 rokov pred
rodič
commit
922c697870
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  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 ()