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

Lines Matching refs:compile

70 ;; - Advised functions can be byte-compiled either at file-compile time
81 ;; definitions at file compile time without giving up the flexibility of
173 ;; you byte-compile a file, because advised special forms and macros can lead
191 ;; values of this variable. Its default value is `maybe' which will compile
290 ;; `compile': Specifies that the advised function should be byte-compiled.
295 ;; at macro-expansion/compile time of this `defadvice'. This
723 ;; runtime. Preactivation is a mechanism that allows compile-time construction
768 ;; - `byte-compile' is part of the `features' variable even though you
778 ;; fix your preactivation/compile/load/activation sequence.
803 ;; expanded at compile time, hence, they might not have all the necessary
814 ;; byte-compile a file to make sure that even if some inconsiderate
914 ;; - ad-compile byte-compiles a function/macro if it is compilable.
1219 ;; Finally, we can specify the `compile' keyword in a `defadvice' to say
1221 ;; (`compile' will be ignored unless we also specified `activate'):
1407 ;; desirable to have a way to construct them at byte-compile time.
1444 ;; `defadvice' inside a `defun' because the v18 compiler does not compile
1453 ;; So far, no `defadvice' for `fum' got executed, but when we compile
1463 ;; Now we compile the defining function which will construct an advised
1464 ;; definition during expansion of the `defadvice', compile it and store it
1467 ;; (ad-compile-function 'fg-defadvice-fum)
1483 ;; the `compile' flag:
1753 ;; However, the printing happens during expansion (or byte-compile) time:
1782 ;; particular, because compile-time macro expansion takes away a lot of the
1784 ;; compile-time expanded before the advice was activated will of course never
1854 "*Defines whether to compile advised definitions during activation.
1856 always avoid compilation, `maybe' will compile if the byte-compiler is already
1857 loaded, and `like-original' will compile if the original definition of the
1947 (require 'byte-compile "bytecomp")
1951 ,@(if (get function 'byte-compile)
1952 `((put ',saved-function 'byte-compile
1953 ',(get function 'byte-compile))))
2151 (defun ad-activate-internal (function &optional compile)
2156 (defun ad-activate-internal-off (function &optional compile)
2688 (defun ad-compile-function (function)
2690 (interactive "aByte-compile function: ")
2693 ;; because `byte-compile' uses `fset':
2697 (byte-compile-warnings
2698 (if (listp byte-compile-warnings) byte-compile-warnings
2699 byte-compile-warning-types)))
2701 (setq byte-compile-warnings
2702 (remq 'cl-functions byte-compile-warnings)))
2704 (byte-compile symbol)
3370 ;; at compile time without having to give up the dynamic runtime flexibility
3434 ;; because definition/compile/load ordering is relevant, and it becomes
3502 (defun ad-should-compile (function compile)
3508 (if (integerp compile)
3509 (>= compile 0)
3510 (if compile
3511 compile
3520 (t (featurep 'byte-compile))))))
3522 (defun ad-activate-advised-definition (function compile)
3524 The resulting FUNCTION will be compiled if `ad-should-compile' returns t.
3532 (if (ad-should-compile function compile)
3533 (ad-compile-function function))
3591 (defun ad-activate (function &optional compile)
3622 (ad-activate-advised-definition function compile)
3651 (defun ad-update (function &optional compile)
3658 (ad-activate function compile)))
3689 (defun ad-activate-regexp (regexp &optional compile)
3699 (ad-activate function compile))))
3711 (defun ad-update-regexp (regexp &optional compile)
3721 (ad-update function compile))))
3723 (defun ad-activate-all (&optional compile)
3728 (ad-activate function compile)))
3736 (defun ad-update-all (&optional compile)
3741 (ad-update function compile)))
3765 ("compile") ("preactivate") ("freeze")))
3784 FLAG ::= `protect'|`disable'|`activate'|`compile'|`preactivate'|`freeze'.
3799 `compile': In conjunction with `activate' specifies that the resulting
3805 `preactivate': Preactivates the advised FUNCTION at macro-expansion/compile
3875 ,(if (memq 'compile flags) t))))
3967 (ad-activate 'documentation 'compile))