Explorar el Código

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

Carsten Dominik hace 15 años
padre
commit
922c697870
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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 ()