%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/ |
Current File : //usr/local/share/emacs/27.2/lisp/startup.elc |
;ELC ;;; Compiled ;;; in Emacs version 27.2 ;;; with all optimizations. ;;; This file contains utf-8 non-ASCII characters, ;;; and so cannot be loaded into Emacs 22 or earlier. (and (boundp 'emacs-version) (< (aref emacs-version (1- (length emacs-version))) ?A) (string-lessp emacs-version "23") (error "`%s' was compiled for Emacs 23 or later" #$)) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\301\302\207" [top-level (normal-top-level) nil] 1) #@47 Non-nil once command line has been processed. (defvar command-line-processed nil (#$ . 473)) (byte-code "\300\301\302\303\304\305%\210\306\307\310\311\312DD\313\314\315\316\317&\210\320\321\322\"\210\320\323\322\"\210\306\322\310\311\324DD\325\314\326%\207" [custom-declare-group initialization nil "Emacs start-up procedure." :group environment custom-declare-variable initial-buffer-choice funcall function #[0 "\300\207" [nil] 1] "Buffer to show after starting Emacs.\nIf the value is nil and `inhibit-startup-screen' is nil, show the\nstartup screen. If the value is a string, switch to a buffer\nvisiting the file or directory that the string specifies. If the\nvalue is a function, call it with no arguments and switch to the buffer\nthat it returns. If t, open the `*scratch*' buffer.\n\nWhen `initial-buffer-choice' is non-nil, the startup screen is\ninhibited.\n\nIf you use `emacsclient' with no target file, then it obeys any\nstring or function value that this variable has." :type (choice (const :tag "Startup screen" nil) (directory :tag "Directory" :value "~/") (file :tag "File" :value "~/.emacs") (const :tag "Remember Mode notes buffer" remember-notes) (function :tag "Function") (const :tag "Lisp scratch buffer" t)) :version "23.1" defvaralias inhibit-splash-screen inhibit-startup-screen inhibit-startup-message #[0 "\300\207" [nil] 1] "Non-nil inhibits the startup screen.\n\nThis is for use in your personal init file (but NOT site-start.el),\nonce you are familiar with the contents of the startup screen." boolean] 8) (defvar startup-screen-inhibit-startup-screen nil) (byte-code "\300\301\302\303\304DD\305\306\307%\210\300\310\302\303\311DD\312\306\313%\210\300\314\302\303\315DD\316\306\313%\207" [custom-declare-variable inhibit-startup-echo-area-message funcall function #[0 "\300\207" [nil] 1] "Non-nil inhibits the initial startup echo area message.\n\nThe startup message is in the echo area as it provides information\nabout GNU Emacs and the GNU system in general, which we want all\nusers to see. As this is the least intrusive startup message,\nthis variable gets specialized treatment to prevent the message\nfrom being disabled site-wide by systems administrators, while\nstill allowing individual users to do so.\n\nSetting this variable takes effect only if you do it with the\ncustomization buffer or if your init file contains a line of this\nform:\n (setq inhibit-startup-echo-area-message \"YOUR-USER-NAME\")\nIf your init file is byte-compiled, use the following form\ninstead:\n (eval \\='(setq inhibit-startup-echo-area-message \"YOUR-USER-NAME\"))\nThus, someone else using a copy of your init file will see the\nstartup message unless he personally acts to inhibit it." :type (choice (const :tag "Don't inhibit") (string :tag "Enter your user name, to inhibit")) inhibit-default-init #[0 "\300\207" [nil] 1] "Non-nil inhibits loading the `default' library." boolean inhibit-startup-buffer-menu #[0 "\300\207" [nil] 1] "Non-nil inhibits display of buffer list when more than 2 files are loaded."] 6) #@232 Alist of command-line switches. Elements look like (SWITCH-STRING . HANDLER-FUNCTION). HANDLER-FUNCTION receives the switch string as its sole argument; the remaining command-line args are in the variable `command-line-args-left'. (defvar command-switch-alist nil (#$ . 3534)) (byte-code "\300\301\302\303#\210\304\301!\207" [defvaralias argv command-line-args-left "List of command-line args not yet processed.\nThis is a convenience alias, so that one can write (pop argv)\ninside of --eval command line arguments in order to access\nfollowing arguments." internal-make-var-non-special] 4) #@46 List of command-line args not yet processed. (defvar command-line-args-left nil (#$ . 4132)) #@32 Current command-line argument. (defvar argi nil (#$ . 4231)) (internal-make-var-non-special 'argi) #@398 List of functions to process unrecognized command-line arguments. Each function should access the dynamically bound variables `argi' (the current argument) and `command-line-args-left' (the remaining arguments). The function should return non-nil only if it recognizes and processes `argi'. If it does so, it may consume successive arguments by altering `command-line-args-left' to remove them. (defvar command-line-functions nil (#$ . 4337)) #@122 Default directory to use for command line arguments. This is normally copied from `default-directory' when Emacs starts. (defvar command-line-default-directory nil (#$ . 4789)) #@446 Alist of X Windows options. Each element has the form (NAME NUMARGS HANDLER FRAME-PARAM VALUE) where NAME is the option name string, NUMARGS is the number of arguments that the option accepts, HANDLER is a function to call to handle the option. FRAME-PARAM (optional) is the frame parameter this option specifies, and VALUE is the value which is given to that frame parameter (most options use the argument for this, so VALUE is not present). (defconst command-line-x-option-alist '(("-bw" 1 x-handle-numeric-switch border-width) ("-d" 1 x-handle-display) ("-display" 1 x-handle-display) ("-name" 1 x-handle-name-switch) ("-title" 1 x-handle-switch title) ("-T" 1 x-handle-switch title) ("-r" 0 x-handle-switch reverse t) ("-rv" 0 x-handle-switch reverse t) ("-reverse" 0 x-handle-switch reverse t) ("-reverse-video" 0 x-handle-switch reverse t) ("-fn" 1 x-handle-switch font) ("-font" 1 x-handle-switch font) ("-fs" 0 x-handle-initial-switch fullscreen fullboth) ("-fw" 0 x-handle-initial-switch fullscreen fullwidth) ("-fh" 0 x-handle-initial-switch fullscreen fullheight) ("-mm" 0 x-handle-initial-switch fullscreen maximized) ("-ib" 1 x-handle-numeric-switch internal-border-width) ("-g" 1 x-handle-geometry) ("-lsp" 1 x-handle-numeric-switch line-spacing) ("-geometry" 1 x-handle-geometry) ("-fg" 1 x-handle-switch foreground-color) ("-foreground" 1 x-handle-switch foreground-color) ("-bg" 1 x-handle-switch background-color) ("-background" 1 x-handle-switch background-color) ("-ms" 1 x-handle-switch mouse-color) ("-nbi" 0 x-handle-switch icon-type nil) ("-iconic" 0 x-handle-iconic) ("-xrm" 1 x-handle-xrm-switch) ("-cr" 1 x-handle-switch cursor-color) ("-vb" 0 x-handle-switch vertical-scroll-bars t) ("-hb" 0 x-handle-switch horizontal-scroll-bars t) ("-bd" 1 x-handle-switch) ("--border-width" 1 x-handle-numeric-switch border-width) ("--display" 1 x-handle-display) ("--name" 1 x-handle-name-switch) ("--title" 1 x-handle-switch title) ("--reverse-video" 0 x-handle-switch reverse t) ("--font" 1 x-handle-switch font) ("--fullscreen" 0 x-handle-initial-switch fullscreen fullboth) ("--fullwidth" 0 x-handle-initial-switch fullscreen fullwidth) ("--fullheight" 0 x-handle-initial-switch fullscreen fullheight) ("--maximized" 0 x-handle-initial-switch fullscreen maximized) ("--internal-border" 1 x-handle-numeric-switch internal-border-width) ("--geometry" 1 x-handle-geometry) ("--foreground-color" 1 x-handle-switch foreground-color) ("--background-color" 1 x-handle-switch background-color) ("--mouse-color" 1 x-handle-switch mouse-color) ("--no-bitmap-icon" 0 x-handle-no-bitmap-icon) ("--iconic" 0 x-handle-iconic) ("--xrm" 1 x-handle-xrm-switch) ("--cursor-color" 1 x-handle-switch cursor-color) ("--vertical-scroll-bars" 0 x-handle-switch vertical-scroll-bars t) ("--line-spacing" 1 x-handle-numeric-switch line-spacing) ("--border-color" 1 x-handle-switch border-color) ("--smid" 1 x-handle-smid) ("--parent-id" 1 x-handle-parent-id)) (#$ . 4973)) #@439 Alist of NS options. Each element has the form (NAME NUMARGS HANDLER FRAME-PARAM VALUE) where NAME is the option name string, NUMARGS is the number of arguments that the option accepts, HANDLER is a function to call to handle the option. FRAME-PARAM (optional) is the frame parameter this option specifies, and VALUE is the value which is given to that frame parameter (most options use the argument for this, so VALUE is not present). (defconst command-line-ns-option-alist '(("-NSAutoLaunch" 1 ns-ignore-1-arg) ("-NXAutoLaunch" 1 ns-ignore-1-arg) ("-macosx" 0 ignore) ("-NSHost" 1 ns-ignore-1-arg) ("-_NSMachLaunch" 1 ns-ignore-1-arg) ("-MachLaunch" 1 ns-ignore-1-arg) ("-NXOpen" 1 ns-ignore-1-arg) ("-NSOpen" 1 ns-handle-nxopen) ("-NXOpenTemp" 1 ns-ignore-1-arg) ("-NSOpenTemp" 1 ns-handle-nxopentemp) ("-GSFilePath" 1 ns-handle-nxopen) ("-name" 1 x-handle-name-switch) ("-title" 1 x-handle-switch title) ("-T" 1 x-handle-switch title) ("-r" 0 x-handle-switch reverse t) ("-rv" 0 x-handle-switch reverse t) ("-reverse" 0 x-handle-switch reverse t) ("-fn" 1 x-handle-switch font) ("-font" 1 x-handle-switch font) ("-ib" 1 x-handle-numeric-switch internal-border-width) ("-g" 1 x-handle-geometry) ("-geometry" 1 x-handle-geometry) ("-fg" 1 x-handle-switch foreground-color) ("-foreground" 1 x-handle-switch foreground-color) ("-bg" 1 x-handle-switch background-color) ("-background" 1 x-handle-switch background-color) ("-itype" 0 x-handle-switch icon-type t) ("-i" 0 x-handle-switch icon-type t) ("-iconic" 0 x-handle-iconic icon-type t) ("-cr" 1 x-handle-switch cursor-color) ("-vb" 0 x-handle-switch vertical-scroll-bars t) ("-hb" 0 x-handle-switch horizontal-scroll-bars t) ("-bd" 1 x-handle-switch) ("--name" 1 x-handle-name-switch) ("--title" 1 x-handle-switch title) ("--reverse-video" 0 x-handle-switch reverse t) ("--font" 1 x-handle-switch font) ("--internal-border" 1 x-handle-numeric-switch internal-border-width) ("--foreground-color" 1 x-handle-switch foreground-color) ("--background-color" 1 x-handle-switch background-color) ("--mouse-color" 1 x-handle-switch mouse-color) ("--icon-type" 0 x-handle-switch icon-type t) ("--iconic" 0 x-handle-iconic) ("--cursor-color" 1 x-handle-switch cursor-color) ("--vertical-scroll-bars" 0 x-handle-switch vertical-scroll-bars t) ("--border-color" 1 x-handle-switch border-width)) (#$ . 7950)) #@78 Normal hook run after handling urgent options but before loading init files. (defvar before-init-hook nil (#$ . 10308)) #@385 Normal hook run after initializing the Emacs session. It is run after Emacs loads the init file, `default' library, the abbrevs file, and additional Lisp packages (if any), and setting the value of `after-init-time'. There is no `condition-case' around the running of this hook; therefore, if `debug-on-error' is non-nil, an error in one of these functions will invoke the debugger. (defvar after-init-hook nil (#$ . 10435)) #@73 Normal hook run after loading init files and handling the command line. (defvar emacs-startup-hook nil (#$ . 10867)) #@284 Normal hook run immediately after `emacs-startup-hook'. In new code, there is no reason to use this instead of `emacs-startup-hook'. If you want to execute terminal-specific Lisp code, for example to override the definitions made by the terminal-specific file, see `tty-setup-hook'. (defvar term-setup-hook nil (#$ . 10991)) (make-obsolete-variable 'term-setup-hook "use either `emacs-startup-hook' or `tty-setup-hook' instead." "24.4") #@162 Non-nil means don't run some startup hooks, because we already did. Currently this applies to: `emacs-startup-hook', `term-setup-hook', and `window-setup-hook'. (defvar inhibit-startup-hooks nil (#$ . 11435)) #@193 File name, including directory, of user's early init file. See `user-init-file'. The only difference is that `early-init-file' is not set during the course of evaluating the early init file. (defvar early-init-file nil (#$ . 11651)) #@192 The brand of keyboard you are using. This variable is used to define the proper function and keypad keys for use under X. It is used in a fashion analogous to the environment variable TERM. (defvar keyboard-type nil (#$ . 11892)) #@414 Normal hook run after loading init files and handling the command line. This is very similar to `emacs-startup-hook'. The only difference is that this hook runs after frame parameters have been set up in response to any settings from your init file. Unless this matters to you, use `emacs-startup-hook' instead. (The name of this hook is due to historical reasons, and does not reflect its purpose very well.) (defvar window-setup-hook nil (#$ . 12130)) (byte-code "\300\301\302\303\304DD\305\306\303%\207" [custom-declare-variable initial-major-mode funcall function #[0 "\300\207" [lisp-interaction-mode] 1] "Major mode command symbol to use for the initial `*scratch*' buffer." :type] 6) #@613 Identity of user whose init file is or was read. The value is nil if `-q' or `--no-init-file' was specified, meaning do not load any init file. Otherwise, the value may be an empty string, meaning use the init file for the user who originally logged in, or it may be a string containing a user's name meaning use that person's init file. In either of the latter cases, `(concat "~" init-file-user "/")' evaluates to the name of the directory where the init file was looked for. Setting `init-file-user' does not prevent Emacs from loading `site-start.el'. The only way to do that is to use `--no-site-file'. (defvar init-file-user nil (#$ . 12831)) (byte-code "\300\301\302\303\304DD\305\306\307\310\311\312\313& \210\314\315\316\317#\210\300\320\302\303\321DD\322\306\323\324\325&\210\300\326\302\303\327DD\330\310\331\332\333\306\334\324\325&\210\300\335\302\303\336DD\337\310\331\306\340\324\341& \207" [custom-declare-variable site-run-file funcall function #[0 "\300\301!\207" [purecopy "site-start"] 2] "File containing site-wide run-time initializations.\nThis file is loaded at run-time before `user-init-file'. It contains\ninits that need to be in place for the entire site, but which, due to\ntheir higher incidence of change, don't make sense to put into Emacs's\ndump file. Thus, the run-time load order is: 1. file described in\nthis variable, if non-nil; 2. `user-init-file'; 3. `default.el'.\n\nDon't use the `site-start.el' file for things some users may not like.\nPut them in `default.el' instead, so that users can more easily\noverride them. Users can prevent loading `default.el' with the `-q'\noption or by setting `inhibit-default-init' in their own init files,\nbut inhibiting `site-start.el' requires `--no-site-file', which\nis less convenient.\n\nThis variable is defined for customization so as to make\nit visible in the relevant context. However, actually customizing it\nis not allowed, since it would not work anyway. The only way to set\nthis variable usefully is to set it while building and dumping Emacs." :type (choice (const :tag "none" nil) string) :initialize custom-initialize-default :set #[514 "\300\301!\207" [error "Customizing `site-run-file' does not work"] 4 "\n\n(fn VARIABLE VALUE)"] make-obsolete-variable system-name "use (system-name) instead" "25.1" mail-host-address #[0 "\300\207" [nil] 1] "The name of this machine, for use in constructing email addresses.\nIf this is nil, Emacs uses `system-name'." (choice (const nil) string) :group mail user-mail-address #[0 "\301\302!\206 \303 \304\206 \305 Q\207" [mail-host-address getenv "EMAIL" user-login-name "@" system-name] 3] "The email address of the current user.\nThis defaults to either: the value of EMAIL environment variable; or\nuser@host, using `user-login-name' and `mail-host-address' (or `system-name')." custom-initialize-delay :set-after (mail-host-address) string auto-save-list-file-prefix #[0 "\302=\203\n \303P\207 \304P\207" [system-type user-emacs-directory ms-dos "auto-save.list/_s" "auto-save-list/.saves-"] 2] "Prefix for generating `auto-save-list-file-name'.\nThis is used after reading your init file to initialize\n`auto-save-list-file-name', by appending Emacs's pid and the system name,\nif you have not already set `auto-save-list-file-name' yourself.\nDirectories in the prefix will be created if necessary.\nSet this to nil if you want to prevent `auto-save-list-file-name'\nfrom being initialized." (choice (const :tag "Don't record a session's auto save list" nil) string) auto-save] 12) (defvar emacs-basic-display nil) (defvar init-file-debug nil) #@61 Non-nil if there was an error loading the user's init file. (defvar init-file-had-error nil (#$ . 16444)) (defvar normal-top-level-add-subdirs-inode-list nil) (defvar no-blinking-cursor nil) #@50 Non-nil if building Emacs overflowed pure space. (defvar pure-space-overflow nil (#$ . 16641)) (defvar pure-space-overflow-message (purecopy "Warning Warning!!! Pure space overflow !!!Warning Warning\n(See the node Pure Storage in the Lisp manual for details.)\n")) (byte-code "\300\301\302\303\304DD\305\306\307\310\311\312\313& \207" [custom-declare-variable tutorial-directory funcall function #[0 "\301\302\303\"!\207" [data-directory file-name-as-directory expand-file-name "tutorials"] 4] "Directory containing the Emacs TUTORIAL files." :group installation :type directory :initialize custom-initialize-delay] 10) #@279 Recursively add all subdirectories of `default-directory' to `load-path'. More precisely, this uses only the subdirectories whose names start with letters or digits; it excludes any subdirectory named `RCS' or `CVS', and any subdirectory that contains a file named `.nosearch'. (defalias 'normal-top-level-add-subdirs-to-load-path #[0 "\302\211C\211\203z \211A\262\242B\262@\303!\304\305!\205\"