• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/emacs-93/emacs/lisp/emacs-lisp/

Lines Matching refs:optional

267 ;; An optional <position> specifies where in the current list of advices of
275 ;; An optional <arglist> which has to be a list can be used to define the
302 ;; An optional <documentation-string> can be supplied to document the advice.
306 ;; An optional <interactive-form> form can be supplied to change/add
346 ;; Macros and special forms will be redefined as macros, hence the optional
358 ;; <advised-docstring> is an optional, special documentation string which will
361 ;; (interactive ...) is an optional interactive form either taken from the
422 ;; (defun foo (x y &optional z &rest r) ....)
489 ;; The `type' of an argument is either `required', `optional' or `rest'.
1642 ;; Now we advise `fii' to use an optional second argument that controls the
1643 ;; amount of incrementation. A list following the (optional) position
1648 ;; (defadvice fii (before fg-inc-x (x &optional incr) act)
2151 (defun ad-activate-internal (function &optional compile)
2156 (defun ad-activate-internal-off (function &optional compile)
2202 (defun ad-read-advised-function (&optional prompt predicate default)
2204 An optional PROMPT will be used to prompt for the function. PREDICATE
2241 (defun ad-read-advice-class (function &optional prompt default)
2243 An optional PROMPT will be used to prompt for the class. DEFAULT will
2259 (defun ad-read-advice-name (function class &optional prompt)
2261 An optional PROMPT is used to prompt for the name."
2277 (defun ad-read-advice-specification (&optional prompt)
2279 The list of read symbols will be returned. The optional PROMPT will
2289 (defun ad-read-regexp (&optional prompt)
2537 (defun ad-arglist (definition &optional name)
2577 ;; values 1 and 2 would suggest `(arg1 &optional arg2)' as an
2579 ;; way to distinguish a subr with args `(a &optional b &rest c)' from
2746 "Parse ARGLIST into its required, optional and rest parameters.
2748 required arguments, the 2nd is the list of optional arguments, and the 3rd
2749 is the name of an optional rest parameter (or nil)."
2750 (let (required optional rest)
2753 (setq optional (cdr (memq '&optional arglist)))
2754 (if optional
2755 (setq required (reverse (cdr (memq '&optional (reverse arglist)))))
2757 (list required optional rest)))
2765 `required', `optional' or `rest' depending on the type of the argument."
2775 `(list ',opt ,opt 'optional)))
2796 For a required/optional arg it simply returns it, if a rest argument has
2978 (defun ad-make-single-advice-docstring (advice class &optional style)
2998 (defun ad-make-advised-docstring (function &optional style)
3136 (type args docstring interactive orig &optional befores arounds afters)
3591 (defun ad-activate (function &optional compile)
3597 The optional COMPILE argument determines whether the resulting function
3651 (defun ad-update (function &optional compile)
3653 See `ad-activate' for documentation on the optional COMPILE argument."
3689 (defun ad-activate-regexp (regexp &optional compile)
3693 See `ad-activate' for documentation on the optional COMPILE argument."
3711 (defun ad-update-regexp (regexp &optional compile)
3715 See `ad-activate' for documentation on the optional COMPILE argument."
3723 (defun ad-activate-all (&optional compile)
3725 See `ad-activate' for documentation on the optional COMPILE argument."
3736 (defun ad-update-all (&optional compile)
3781 ARGLIST ::= An optional argument list to be used for the advised function
3937 (ad-define-subr-args 'documentation '(function &optional raw))
3951 ;; Handle optional `raw' argument: