%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/emacs-lisp/ |
Current File : //usr/local/share/emacs/27.2/lisp/emacs-lisp/byte-run.elc |
;ELC ;;; Compiled ;;; in Emacs version 27.2 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; #@177 Set FUNCTION's property PROP to VALUE. The namespace for PROP is shared with symbols. So far, FUNCTION can only be a symbol, not a lambda expression. (fn FUNCTION PROP VALUE) (defalias 'function-put #[771 "\300#\207" [put] 7 (#$ . 409)]) (byte-code "\300\301\302\303#\300\301\304\305#\300\207" [function-put defmacro doc-string-elt 3 lisp-indent-function 2] 5) #@265 Function to process declarations in a macro definition. The function will be called with two args MACRO and DECL. MACRO is the name of the macro being defined. DECL is a list `(declare ...)' containing the declarations. The value the function returns is not used. (defvar macro-declaration-function 'macro-declaration-function (#$ . 781)) #@293 Process a declaration found in a macro definition. This is set as the value of the variable `macro-declaration-function'. MACRO is the name of the macro being defined. DECL is a list `(declare ...)' containing the declarations. The return value of this function is not used. (fn MACRO DECL) (defalias 'macro-declaration-function #[514 "\300A\211\262\205d @\262\211:\203\\ \211A<\203\\ \211AA\204\\ \211@\301=\2030 \302\303A@#\210\202 \211@\304=\203B \302\305A@#\210\202 \211@\306=\203T \302\307A@#\210\202 \310\311\"\210\202 \310\312\"\210\202 \207" [nil indent put lisp-indent-function debug edebug-form-spec doc-string doc-string-elt message "Unknown declaration %s" "Invalid declaration %s"] 7 (#$ . 1127)]) #@382 List associating function properties to their macro expansion. Each element of the list takes the form (PROP FUN) where FUN is a function. For each (PROP . VALUES) in a function's declaration, the FUN corresponding to PROP is called with the function name, the function's arglist, and the VALUES and should return the code to use to set this property. This is used by `declare'. (defvar defun-declarations-alist (byte-code "\300\301D\302\303D\304\305D\306\307\310E\311\312\313E\314\315D\316\317D\320\321D\257\207" [advertised-calling-convention #[1028 "\300\301D\301D\301DF\207" [set-advertised-calling-convention quote] 9 "\n\n(fn F ARGS ARGLIST WHEN)"] obsolete #[1028 "\300\301D\301D\301DF\207" [make-obsolete quote] 9 "\n\n(fn F ARGS NEW-NAME WHEN)"] interactive-only #[771 "\300\301D\302\301DF\207" [function-put quote 'interactive-only] 8 "\n\n(fn F ARGS INSTEAD)"] pure #[771 "\300\301D\302\301DF\207" [function-put quote 'pure] 8 "\n\n(fn F ARGS VAL)"] "If non-nil, the compiler can replace calls with their return value.\nThis may shift errors from run-time to compile-time." side-effect-free #[771 "\300\301D\302\301DF\207" [function-put quote 'side-effect-free] 8 "\n\n(fn F ARGS VAL)"] "If non-nil, calls can be ignored if their value is unused.\nIf `error-free', drop calls even if `byte-compile-delete-errors' is nil." compiler-macro #[771 "\211\242\300=\204 \301\302\303D\304\305DFD\207\306\307!\310P!A\311\301\302\303D\312\305DFD\313\301\314\315@\"ABBBDF\207" [lambda eval-and-compile function-put quote 'compiler-macro function intern symbol-name "--anon-cmacro" progn 'compiler-macro :autoload-end defun append] 14 "\n\n(fn F ARGS COMPILER-FUNCTION)"] doc-string #[771 "\300\301D\302\301DF\207" [function-put quote 'doc-string-elt] 8 "\n\n(fn F ARGS POS)"] indent #[771 "\300\301D\302\301DF\207" [function-put quote 'lisp-indent-function] 8 "\n\n(fn F ARGS VAL)"]] 9) (#$ . 1863)) #@373 List associating properties of macros to their macro expansion. Each element of the list takes the form (PROP FUN) where FUN is a function. For each (PROP . VALUES) in a macro's declaration, the FUN corresponding to PROP is called with the macro name, the macro's arglist, and the VALUES and should return the code to use to set this property. This is used by `declare'. (defvar macro-declarations-alist (byte-code "\301\302D\303\304DBB\207" [defun-declarations-alist debug #[771 "\300\301\302\303D\304\303DFE\207" [progn :autoload-end put quote 'edebug-form-spec] 10 "\n\n(fn NAME ARGS SPEC)"] no-font-lock-keyword #[771 "\300\301D\302\301DF\207" [function-put quote 'no-font-lock-keyword] 8 "\n\n(fn NAME ARGS VAL)"]] 3) (#$ . 3805)) #@525 Define NAME as a macro. When the macro is called, as in (NAME ARGS...), the function (lambda ARGLIST BODY...) is applied to the list ARGS... as it appears in the expression, and the result should be a form to be evaluated instead of the original. DECL is a declaration, optional, of the form (declare DECLS...) where DECLS is a list of elements of the form (PROP . VALUES). These are interpreted according to `macro-declarations-alist'. The return value is undefined. (fn NAME ARGLIST &optional DOCSTRING DECL &rest BODY) (defalias 'defmacro '(macro . #[898 "\242\300=\203 A\301\262\202# ;\205# \211@\242\300=\205# \211@AA\262\203/ B\262\2026 \2046 \302\262\303\304BBD\305\306D\307\310EE\311\312\313\314\315\316\f\f\"\317\"\320\321%\"\322\323!\203\202 \322!\203 \322!\203\202 \324\306 D\325\306\326NDF\235\203\202 \323 \210\211\203\216 \327BB\202\217 \266\203\207" [declare nil (nil) function lambda defalias quote cons 'macro mapcar make-byte-code 257 "\211@\n\236A\211\203 \303@\300\301A$\202 \304\305@\300#\207" vconcat vector [macro-declarations-alist apply message "Warning: Unknown macro property %S in %S"] 7 "\n\n(fn X)" fboundp lisp--el-font-lock-flush-elisp-buffers function-put 'no-font-lock-keyword no-font-lock-keyword prog1] 15 (#$ . 4556)])) #@398 Define NAME as a function. The definition is (lambda ARGLIST [DOCSTRING] BODY...). See also the function `interactive'. DECL is a declaration, optional, of the form (declare DECLS...) where DECLS is a list of elements of the form (PROP . VALUES). These are interpreted according to `defun-declarations-alist'. The return value is undefined. (fn NAME ARGLIST &optional DOCSTRING DECL &rest BODY) (defalias 'defun '(macro . #[898 "\211CC\204 \300\301\"\210<\203 \302\303\304\305\"\"\203$ \300\306\"\210\211\242\242\307=\2036 \211\242A\310\240\210\202O \211\242;\205O \242@\242\307=\205O \242@A\211\242A\240\210\242\203_ \242\242B\240\210\202h \242\204h \311\240\210\304\312\313\314\315\316\f\f $\317\"\320\321%\"\322\323 D\324\325\n\242BBDE\203\232 \326BB\202\233 \211\266\202\262\207" [error "Cannot define '%s' as a function" delq t mapcar symbolp "Malformed arglist: %s" declare nil (nil) make-byte-code 257 "\211@\f\236A\211\203 \305@\300\301A$\202x \306\307!\203r @\310>\203r \311D\302\242;\203P \303\242A@\242\312=\203C \303\242\211AAAB\241\266\202m \303\242\211AB\241\266\202m \303\242@\242\312=\203f \303\242\211AB\241\266\202m \303\303\242B\240\210\210\313\202x \314\315@\300#\207" vconcat vector [defun-declarations-alist apply featurep cl (special inline notinline optimize warn) declare interactive nil message "Warning: Unknown defun property `%S' in %S"] 7 "\n\n(fn X)" defalias quote function lambda prog1] 17 (#$ . 5860)])) (byte-code "\300\301\302\303#\300\301\304\305#\306\307\310\311#\207" [function-put defun doc-string-elt 3 lisp-indent-function 2 defalias inline progn "Like `progn', but when compiled inline top-level function calls in body.\nYou don't need this. (See bytecomp.el commentary for more details.)\n\n(fn BODY...)"] 6) #@125 Define an inline function. The syntax is just like that of `defun'. (fn NAME ARGLIST &optional DOCSTRING DECL &rest BODY) (defalias 'defsubst '(macro . #[642 "\300N\301>\204 \302\303\"\210\304\305BBB\306\307\310D\311BBDE\207" [byte-optimizer (nil byte-compile-inline-expand) error "`%s' is a primitive" prog1 defun eval-and-compile put quote ('byte-optimizer 'byte-compile-inline-expand)] 9 (#$ . 7674)])) (byte-code "\300\301\302\303#\210\304\301\305\306#\300\207" [put defsubst edebug-form-spec defun function-put doc-string-elt 3] 4) (defvar advertised-signature-table (make-hash-table :test 'eq :weakness 'key)) #@240 Set the advertised SIGNATURE of FUNCTION. This will allow the byte-compiler to warn the programmer when she uses an obsolete calling convention. WHEN specifies since when the calling convention was modified. (fn FUNCTION SIGNATURE WHEN) (defalias 'set-advertised-calling-convention #[771 "\301\302!#\207" [advertised-signature-table puthash indirect-function] 7 (#$ . 8307)]) #@490 Make the byte-compiler warn that function OBSOLETE-NAME is obsolete. OBSOLETE-NAME should be a function name or macro name (a symbol). The warning will say that CURRENT-NAME should be used instead. If CURRENT-NAME is a string, that is the `use instead' message (it should end with a period, and not start with a capital). WHEN should be a string indicating when the function was first made obsolete, for example a date or a release number. (fn OBSOLETE-NAME CURRENT-NAME &optional WHEN) (defalias 'make-obsolete #[770 "\300\301\302\303E!#\210\207" [put byte-obsolete-info purecopy nil] 10 (#$ . 8695)]) (set-advertised-calling-convention 'make-obsolete '(obsolete-name current-name when) "23.1") #@555 Set OBSOLETE-NAME's function definition to CURRENT-NAME and mark it obsolete. (define-obsolete-function-alias \='old-fun \='new-fun "22.1" "old-fun's doc.") is equivalent to the following two lines of code: (defalias \='old-fun \='new-fun "old-fun's doc.") (make-obsolete \='old-fun \='new-fun "22.1") WHEN should be a string indicating when the function was first made obsolete, for example a date or a release number. See the docstrings of `defalias' and `make-obsolete' for more details. (fn OBSOLETE-NAME CURRENT-NAME &optional WHEN DOCSTRING) (defalias 'define-obsolete-function-alias '(macro . #[1026 "\300\301F\302FE\207" [progn defalias make-obsolete] 10 (#$ . 9405)])) (byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put define-obsolete-function-alias doc-string-elt 4 set-advertised-calling-convention (obsolete-name current-name when &optional docstring) "23.1"] 5) #@499 Make the byte-compiler warn that OBSOLETE-NAME is obsolete. The warning will say that CURRENT-NAME should be used instead. If CURRENT-NAME is a string, that is the `use instead' message. WHEN should be a string indicating when the variable was first made obsolete, for example a date or a release number. ACCESS-TYPE if non-nil should specify the kind of access that will trigger obsolescence warnings; it can be either `get' or `set'. (fn OBSOLETE-NAME CURRENT-NAME &optional WHEN ACCESS-TYPE) (defalias 'make-obsolete-variable #[1026 "\300\301\302E!#\210\207" [put byte-obsolete-variable purecopy] 11 (#$ . 10318)]) (set-advertised-calling-convention 'make-obsolete-variable '(obsolete-name current-name when &optional access-type) "23.1") #@1196 Make OBSOLETE-NAME a variable alias for CURRENT-NAME and mark it obsolete. This uses `defvaralias' and `make-obsolete-variable' (which see). See the Info node `(elisp)Variable Aliases' for more details. If CURRENT-NAME is a defcustom or a defvar (more generally, any variable where OBSOLETE-NAME may be set, e.g. in an init file, before the alias is defined), then the define-obsolete-variable-alias statement should be evaluated before the defcustom, if user customizations are to be respected. The simplest way to achieve this is to place the alias statement before the defcustom (this is not necessary for aliases that are autoloaded, or in files dumped with Emacs). This is so that any user customizations are applied before the defcustom tries to initialize the variable (this is due to the way `defvaralias' works). WHEN should be a string indicating when the variable was first made obsolete, for example a date or a release number. For the benefit of Customize, if OBSOLETE-NAME has any of the following properties, they are copied to CURRENT-NAME, if it does not already have them: `saved-value', `saved-variable-comment'. (fn OBSOLETE-NAME CURRENT-NAME &optional WHEN DOCSTRING) (defalias 'define-obsolete-variable-alias '(macro . #[1026 "\300\301F\302\303\304\305 \306BB\307\305\n\310BBD\311\n\312\305\313BBFFE\314FF\207" [progn defvaralias dolist (prop '(saved-value saved-variable-comment)) and get (prop) null (prop) put prop (prop) make-obsolete-variable] 17 (#$ . 11078)])) (byte-code "\300\301\302\303#\304\301\305\306#\207" [function-put define-obsolete-variable-alias doc-string-elt 4 set-advertised-calling-convention (obsolete-name current-name when &optional docstring) "23.1"] 5) #@224 Make OBSOLETE-FACE a face alias for CURRENT-FACE and mark it obsolete. WHEN should be a string indicating when the face was first made obsolete, for example a date or a release number. (fn OBSOLETE-FACE CURRENT-FACE WHEN) (defalias 'define-obsolete-face-alias '(macro . #[771 "\300\301\302F\301\303\304\305D\306BBFE\207" [progn put 'face-alias 'obsolete-face or purecopy (t)] 11 (#$ . 12808)])) #@157 Like `progn', but the body always runs interpreted (not compiled). If you think you need this, you're probably making a mistake somewhere. (fn &rest BODY) (defalias 'dont-compile '(macro . #[128 "\300\301A\203 \302B\202 @DD\207" [eval quote progn] 5 (#$ . 13216)])) (byte-code "\300\301\302\303#\210\304\301\305\306#\307\301\310\311#\207" [put dont-compile edebug-form-spec t function-put lisp-indent-function 0 make-obsolete nil "24.4"] 5) #@360 Like `progn', but evaluates the body at compile time if you're compiling. Thus, the result of the body appears to the compiler as a quoted constant. In interpreted code, this is entirely equivalent to `progn', except that the value of the expression may be (but is not necessarily) computed at load time if eager macro expansion is enabled. (fn &rest BODY) (defalias 'eval-when-compile '(macro . #[128 "\301\302\303B\"D\207" [lexical-binding quote eval progn] 5 (#$ . 13670)])) (byte-code "\300\301\302\303#\210\304\301\305\306#\300\207" [put eval-when-compile edebug-form-spec (&rest def-form) function-put lisp-indent-function 0] 4) #@282 Like `progn', but evaluates the body at compile time and at load time. In interpreted code, this is entirely equivalent to `progn', except that the value of the expression may be (but is not necessarily) computed at load time if eager macro expansion is enabled. (fn &rest BODY) (defalias 'eval-and-compile '(macro . #[128 "\301\302\303B\"D\207" [lexical-binding quote eval progn] 5 (#$ . 14316)])) (byte-code "\300\301\302\303#\210\304\301\305\306#\300\207" [put eval-and-compile edebug-form-spec (&rest def-form) function-put lisp-indent-function 0] 4) #@76 Like `progn', but prevents compiler warnings in the body. (fn &rest BODY) (defalias 'with-no-warnings #[128 "\300!@\207" [last] 3 (#$ . 14881)]) (byte-code "\300\301\302\303#\300\207" [function-put with-no-warnings lisp-indent-function 0] 4) #@1049 Like `progn', but prevents compiler WARNINGS in BODY. WARNINGS is an associative list where the first element of each item is a warning type, and the rest of the elements in each item are symbols they apply to. For instance, if you want to suppress byte compilation warnings about the two obsolete functions `foo' and `bar', as well as the function `zot' being called with the wrong number of parameters, say (with-suppressed-warnings ((obsolete foo bar) (callargs zot)) (foo (bar)) (zot 1 2)) The warnings that can be suppressed are a subset of the warnings in `byte-compile-warning-types'; see the variable `byte-compile-warnings' for a fuller explanation of the warning types. The types that can be suppressed with this macro are `free-vars', `callargs', `redefine', `obsolete', `interactive-only', `lexical', `mapcar', `constants' and `suspicious'. For the `mapcar' case, only the `mapcar' function can be used in the symbol list. For `suspicious', only `set-buffer' can be used. (fn WARNINGS &rest BODY) (defalias 'with-suppressed-warnings '(macro . #[385 "\302\303!\203\f \304\300!\204 \305B\207\306\"\307\310! \")\207" [byte-compile--suppressed-warnings macroexpand-all-environment featurep macroexp boundp progn append macroexpand-all macroexp-progn] 5 (#$ . 15133)])) (byte-code "\300\301\302\303#\210\304\301\305\306#\300\207" [put with-suppressed-warnings edebug-form-spec (sexp &optional body) function-put lisp-indent-function 1] 4) #@222 Return a warning about unescaped character literals. If there were any unescaped character literals in the last form read, return an appropriate warning message as a string. Otherwise, return nil. For internal use only. (defalias 'byte-run--unescaped-character-literals-warning #[0 "\205 \301\302\"\303\304\305\306\307#\305\310\307##\262\207" [lread--unescaped-character-literals sort < format-message "unescaped character literals %s detected, %s expected!" mapconcat #[257 "\300\301\"\207" [format "`?%c'"] 4 "\n\n(fn CHAR)"] ", " #[257 "\300\301\"\207" [format "`?\\%c'"] 4 "\n\n(fn CHAR)"]] 8 (#$ . 16631)]) #@86 Format ARGS in a way that looks pleasing in the compilation output. (fn &rest ARGS) (defalias 'byte-compile-info-string #[128 "\300\301\302\303\300\"#\207" [format " %-9s%s" "INFO" apply] 7 (#$ . 17258)]) #@94 Message format ARGS in a way that looks pleasing in the compilation output. (fn &rest ARGS) (defalias 'byte-compile-info-message #[128 "\300\301\302\303\"\"\207" [message "%s" apply byte-compile-info-string] 6 (#$ . 17472)]) (byte-code "\300\301\302\303#\210\304\301\302\303#\207" [make-obsolete-variable macro-declaration-function macro-declarations-alist "24.3" make-obsolete] 4)