(const :tag "Remember Mode notes buffer" remember-notes)
(function :tag "Function")
(const :tag "Lisp scratch buffer" t))
- :version "23.1"
- :group 'initialization)
+ :version "23.1")
(defvaralias 'inhibit-splash-screen 'inhibit-startup-screen)
(defvaralias 'inhibit-startup-message 'inhibit-startup-screen)
This is for use in your personal init file (but NOT site-start.el),
once you are familiar with the contents of the startup screen."
- :type 'boolean
- :group 'initialization)
+ :type 'boolean)
(defvar startup-screen-inhibit-startup-screen nil)
Thus, someone else using a copy of your init file will see the
startup message unless he personally acts to inhibit it."
:type '(choice (const :tag "Don't inhibit")
- (string :tag "Enter your user name, to inhibit"))
- :group 'initialization)
+ (string :tag "Enter your user name, to inhibit")))
(defcustom inhibit-default-init nil
"Non-nil inhibits loading the `default' library."
- :type 'boolean
- :group 'initialization)
+ :type 'boolean)
(defcustom inhibit-startup-buffer-menu nil
"Non-nil inhibits display of buffer list when more than 2 files are loaded."
- :type 'boolean
- :group 'initialization)
+ :type 'boolean)
(defvar command-switch-alist nil
"Alist of command-line switches.
(defcustom initial-major-mode 'lisp-interaction-mode
"Major mode command symbol to use for the initial `*scratch*' buffer."
- :type 'function
- :group 'initialization)
+ :type 'function)
(defvar init-file-user nil
"Identity of user whose init file is or was read.
is not allowed, since it would not work anyway. The only way to set
this variable usefully is to set it while building and dumping Emacs."
:type '(choice (const :tag "none" nil) string)
- :group 'initialization
:initialize #'custom-initialize-default
:set (lambda (_variable _value)
(error "Customizing `site-run-file' does not work")))
(when standard-display-table
(aset standard-display-table char nil)))))))
-(defun load-user-init-file
+(defun startup--load-user-init-file
(filename-function &optional alternate-filename-function load-defaults)
"Load a user init-file.
FILENAME-FUNCTION is called with no arguments and should return
:error))))
;; Load the early init file, if found.
- (load-user-init-file
+ (startup--load-user-init-file
(lambda ()
(expand-file-name
;; We use an explicit .el extension here to force
- ;; load-user-init-file to set user-init-file to "early-init.el",
+ ;; startup--load-user-init-file to set user-init-file to "early-init.el",
;; with the .el extension, if the file doesn't exist, not just
;; "early-init" without an extension, as it does for ".emacs".
"early-init.el"
(load site-run-file t t)))
;; Load that user's init file, or the default one, or none.
- (load-user-init-file
+ (startup--load-user-init-file
(lambda ()
(cond
((eq system-type 'ms-dos)
"Initial documentation displayed in *scratch* buffer at startup.
If this is nil, no message will be displayed."
:type '(choice (text :tag "Message")
- (const :tag "none" nil))
- :group 'initialization)
+ (const :tag "none" nil)))
\f
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(defgroup fancy-splash-screen ()
+ ;; FIXME: Do we really need this group with a single custom var?
"Fancy splash screen when Emacs starts."
:version "21.1"
:group 'initialization)
(defcustom fancy-splash-image nil
"The image to show in the splash screens, or nil for defaults."
- :group 'fancy-splash-screen
:type '(choice (const :tag "Default" nil)
(file :tag "File")))