diff options
| -rw-r--r-- | lisp/startup.el | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lisp/startup.el b/lisp/startup.el index c387b519d8e..398e97a465a 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -223,7 +223,9 @@ specified by the LC_ALL, LC_CTYPE and LANG environment variables.") | |||
| 223 | "*Name of this machine, for purposes of naming users.") | 223 | "*Name of this machine, for purposes of naming users.") |
| 224 | 224 | ||
| 225 | (defvar user-mail-address nil | 225 | (defvar user-mail-address nil |
| 226 | "*Full mailing address of this user.") | 226 | "*Full mailing address of this user. |
| 227 | This is initialized based on `mail-host-address', | ||
| 228 | after your init file is read, in case it sets `mail-host-address'.") | ||
| 227 | 229 | ||
| 228 | (defvar auto-save-list-file-prefix "~/.saves-" | 230 | (defvar auto-save-list-file-prefix "~/.saves-" |
| 229 | "Prefix for generating auto-save-list-file-name. | 231 | "Prefix for generating auto-save-list-file-name. |
| @@ -401,7 +403,9 @@ this prefix to create a unique file name.") | |||
| 401 | ("--debug-init") ("--iconic") ("--icon-type"))) | 403 | ("--debug-init") ("--iconic") ("--icon-type"))) |
| 402 | (argi (car args)) | 404 | (argi (car args)) |
| 403 | (argval nil)) | 405 | (argval nil)) |
| 404 | (if (string-match "=" argi) | 406 | ;; Handle --OPTION=VALUE format. |
| 407 | (if (and (string-match "\\`--" argi) | ||
| 408 | (string-match "=" argi)) | ||
| 405 | (setq argval (substring argi (match-end 0)) | 409 | (setq argval (substring argi (match-end 0)) |
| 406 | argi (substring argi 0 (match-beginning 0)))) | 410 | argi (substring argi 0 (match-beginning 0)))) |
| 407 | (let ((completion (try-completion argi longopts))) | 411 | (let ((completion (try-completion argi longopts))) |
| @@ -442,6 +446,8 @@ this prefix to create a unique file name.") | |||
| 442 | (setq default-frame-alist | 446 | (setq default-frame-alist |
| 443 | (cons '(icon-type . t) default-frame-alist)) | 447 | (cons '(icon-type . t) default-frame-alist)) |
| 444 | (setq args (cdr args))) | 448 | (setq args (cdr args))) |
| 449 | ((and (not (equal "" argi)) (aref argi 0)) | ||
| 450 | (error "Unknown option `%s'" argi)) | ||
| 445 | (t (setq done t))) | 451 | (t (setq done t))) |
| 446 | ;; Was argval set but not used? | 452 | ;; Was argval set but not used? |
| 447 | (and argval | 453 | (and argval |