comparison lisp/help.el @ 31397:90250e4999e6

(help-manyarg-func-alist): Add ml-prefix-argument-loop, insert-before-markers-and-inherit. Now checked systematically!
author Dave Love <fx@gnu.org>
date Tue, 05 Sep 2000 15:14:15 +0000
parents 5114aeb0f8e6
children 2a7aafb126fb
comparison
equal deleted inserted replaced
31396:3e3f0feb89ad 31397:90250e4999e6
1474 ;; `help-manyarg-func-alist' is defined primitively (in doc.c). 1474 ;; `help-manyarg-func-alist' is defined primitively (in doc.c).
1475 ;; New primitives with `MANY' or `UNEVALLED' arglists should be added 1475 ;; New primitives with `MANY' or `UNEVALLED' arglists should be added
1476 ;; to this alist. 1476 ;; to this alist.
1477 ;; The parens and function name are redundant, but it's messy to add 1477 ;; The parens and function name are redundant, but it's messy to add
1478 ;; them in `documentation'. 1478 ;; them in `documentation'.
1479
1480 ;; This will find any missing items:
1481 ;; (let (l)
1482 ;; (mapatoms (lambda (x)
1483 ;; (if (and (fboundp x)
1484 ;; (subrp (symbol-function x))
1485 ;; (not (numberp (cdr (subr-arity (symbol-function x)))))
1486 ;; (not (assq x help-manyarg-func-alist)))
1487 ;; (push x l))))
1488 ;; l)
1479 (defconst help-manyarg-func-alist 1489 (defconst help-manyarg-func-alist
1480 (purecopy 1490 (purecopy
1481 '((list . "(list &rest OBJECTS)") 1491 '((list . "(list &rest OBJECTS)")
1482 (vector . "(vector &rest OBJECTS)") 1492 (vector . "(vector &rest OBJECTS)")
1483 (make-byte-code . "(make-byte-code &rest ELEMENTS)") 1493 (make-byte-code . "(make-byte-code &rest ELEMENTS)")
1546 (unwind-protect . "(unwind-protect BODYFORM UNWINDFORMS...)") 1556 (unwind-protect . "(unwind-protect BODYFORM UNWINDFORMS...)")
1547 (condition-case . "(condition-case VAR BODYFORM HANDLERS...)") 1557 (condition-case . "(condition-case VAR BODYFORM HANDLERS...)")
1548 (track-mouse . "(track-mouse BODY ...)") 1558 (track-mouse . "(track-mouse BODY ...)")
1549 (ml-if . "(ml-if COND THEN ELSE...)") 1559 (ml-if . "(ml-if COND THEN ELSE...)")
1550 (ml-provide-prefix-argument . "(ml-provide-prefix-argument ARG1 ARG2)") 1560 (ml-provide-prefix-argument . "(ml-provide-prefix-argument ARG1 ARG2)")
1561 (ml-prefix-argument-loop . "(ml-prefix-argument-loop ...)")
1551 (with-output-to-temp-buffer 1562 (with-output-to-temp-buffer
1552 . "(with-output-to-temp-buffer BUFFNAME BODY ...)") 1563 . "(with-output-to-temp-buffer BUFFNAME BODY ...)")
1553 (save-window-excursion . "(save-window-excursion BODY ...)") 1564 (save-window-excursion . "(save-window-excursion BODY ...)")
1554 (find-operation-coding-system 1565 (find-operation-coding-system
1555 . "(find-operation-coding-system OPERATION ARGUMENTS ...)")))) 1566 . "(find-operation-coding-system OPERATION ARGUMENTS ...)")
1567 (insert-before-markers-and-inherit
1568 . "(insert-before-markers-and-inherit &rest ARGS)"))))
1556 1569
1557 ;;; help.el ends here 1570 ;;; help.el ends here