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

Lines Matching +defs:eval +defs:defun

41 (eval-when-compile
49 (eval-when-compile (require 'cl)) ; was (cc-external-require 'cl). ACM 2005/11/29.
54 (cc-bytecomp-defun buffer-syntactic-context-depth) ; XEmacs
55 (cc-bytecomp-defun region-active-p) ; XEmacs
64 (cc-bytecomp-defun string-to-syntax) ; Emacs 21
70 (eval-and-compile
75 ; (eval-after-load "font-lock" ; 2006-07-09. font-lock is now preloaded
87 (eval-when-compile
124 (eval-and-compile
125 (defvar c-inside-eval-when-compile nil)
127 (defmacro cc-eval-when-compile (&rest body)
131 This variant works around bugs in `eval-when-compile' in various
134 (if c-inside-eval-when-compile
135 ;; XEmacs 21.4.6 has a bug in `eval-when-compile' in that it
137 ;; inside another `eval-when-compile'. So we use a dynamically
141 `(eval-when-compile
142 ;; In all (X)Emacsen so far, `eval-when-compile' byte compiles
162 ;; (eval-when-compile
166 ;; But `eval-when-compile' byte compiles its contents and
171 ;; arguably a bug because the point with `eval-when-compile' is
175 ;; constant that we eval. That otoh introduce a problem in
178 (eval '(let ((c-inside-eval-when-compile t)) ,@body)))))
180 (put 'cc-eval-when-compile 'lisp-indent-hook 0))
193 `bod' -- beginning of defun
194 `eod' -- end of defun
209 (let ((position (eval position)))
237 (c-beginning-of-defun-1)
243 (c-end-of-defun-1)
320 ((eq position 'bod) (c-beginning-of-defun-1))
321 ((eq position 'eod) (c-end-of-defun-1))
405 "Bind variables according to VARLIST (in `let*' style) and eval BODY,
465 (defun c-tnt-chng-record-state ()
476 (defun c-tnt-chng-cleanup (keep saved-state)
696 (defmacro c-beginning-of-defun-1 ()
697 ;; Wrapper around beginning-of-defun.
700 ;; beginning-of-defun in CC Mode. Eventually something better than
703 ;; (c-beginning-of-defun-1)
717 '(let (beginning-of-defun-function end-of-defun-function
732 (beginning-of-defun)
741 (let (beginning-of-defun-function end-of-defun-function)
742 (beginning-of-defun)))
743 ;; if defun-prompt-regexp is non-nil, b-o-d won't leave us at the
745 (and defun-prompt-regexp
746 (looking-at defun-prompt-regexp)
877 (eval-and-compile
889 (let ((mode (eval mode)))
905 (eval-and-compile
921 (cc-eval-when-compile
945 (cc-bytecomp-defun c-put-char-property-fun) ; Make it known below.
959 (setq property (eval property))
973 (setq property (eval property))
984 (cc-eval-when-compile
995 (cc-bytecomp-defun c-clear-char-property-fun) ; Make it known below.
1003 (setq property (eval property))
1029 (setq property (eval property))
1071 ;(eval-after-load "edebug" ; 2006-07-09: def-edebug-spec is now in subr.el.
1073 (def-edebug-spec cc-eval-when-compile t)
1110 (defsubst c-end-of-defun-1 ()
1111 ;; Replacement for end-of-defun that use c-beginning-of-defun-1.
1113 ;; Skip forward into the next defun block. Don't bother to avoid
1114 ;; comments, literals etc, since beginning-of-defun doesn't do that
1117 (c-beginning-of-defun-1)
1173 (defun c-langelem-col (langelem &optional preserve-point)
1249 (defun c-concat-separated (list separator)
1254 (defun c-make-keywords-re (adorn list &optional mode)
1359 (defun c-make-bare-char-alt (chars &optional inverted)
1392 (cc-bytecomp-defvar open-paren-in-column-0-is-defun-start)
1478 ;; See if `open-paren-in-column-0-is-defun-start' exists and
1480 (when (boundp 'open-paren-in-column-0-is-defun-start)
1481 (let ((open-paren-in-column-0-is-defun-start nil)
1536 in column zero is the start of a defun.
1598 (defun c-add-language (mode base-mode)
1649 (defmacro c-lang-defconst-eval-immediately (form)
1655 (eval form))
1670 quoted. `c-lang-defconst-eval-immediately' can however be used inside
1701 ;; `eval-when-compile' should be equivalent, since that macro
1705 ;; `cc-eval-when-compile' due to bugs in `eval-when-compile',
1759 ;; `c-lang-defconst-eval-immediately' and to register
1774 `(eval-and-compile
1779 ;(eval-after-load "edebug" ; 2006-07-09: def-edebug-spec is now in subr.el.
1784 (defun c-define-lang-constant (name bindings &optional pre-files)
1898 (cc-eval-when-compile
1904 (defun c-get-lang-constant (name &optional source-files mode)
1914 (eval-in-sym (and c-lang-constants-under-evaluation
1919 (when eval-in-sym
1920 (or (memq eval-in-sym (get sym 'dependents))
1921 (put sym 'dependents (cons eval-in-sym (get sym 'dependents)))))
1958 (max-lisp-eval-depth (max max-lisp-eval-depth 1000)))
1986 (setq value (eval value))
1999 (defun c-find-assignment-for-mode (source-pos mode match-any-lang name)
2063 (defun c-lang-major-mode-is (mode)