diff options
| author | Daniel Colascione | 2015-03-14 14:53:33 -0700 |
|---|---|---|
| committer | Daniel Colascione | 2015-03-14 14:53:33 -0700 |
| commit | 3bf369928e44fd83c27ef436b05d9cd2b4abbfba (patch) | |
| tree | 48341d5125540fe53a28840b9a9455843c2b8490 /lisp | |
| parent | 85f1a56f156f7f9aab1464318970b3a1d97fa533 (diff) | |
| download | emacs-3bf369928e44fd83c27ef436b05d9cd2b4abbfba.tar.gz emacs-3bf369928e44fd83c27ef436b05d9cd2b4abbfba.zip | |
Add --no-x-resources option
* lisp/startup.el (command-line): Process "--no-x-resources".
* src/emacs.c (standard_args): Add --no-x-resources.
(usage_message): Document that -Q implies --no-x-resources.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/startup.el | 7 |
2 files changed, 9 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d393190803d..8da573ed2f7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2015-03-14 Daniel Colascione <dancol@dancol.org> | ||
| 2 | |||
| 3 | * startup.el (command-line): Process "--no-x-resources". | ||
| 4 | |||
| 1 | 2015-03-13 Kevin Ryde <user42_kevin@yahoo.com.au> | 5 | 2015-03-13 Kevin Ryde <user42_kevin@yahoo.com.au> |
| 2 | 6 | ||
| 3 | info-look fixes for Texinfo 5 | 7 | info-look fixes for Texinfo 5 |
diff --git a/lisp/startup.el b/lisp/startup.el index 999e53e56dd..7fa929a659d 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -875,7 +875,8 @@ please check its value") | |||
| 875 | ;; processed. This is consistent with the way main in emacs.c | 875 | ;; processed. This is consistent with the way main in emacs.c |
| 876 | ;; does things. | 876 | ;; does things. |
| 877 | (while (and (not done) args) | 877 | (while (and (not done) args) |
| 878 | (let* ((longopts '(("--no-init-file") ("--no-site-file") ("--debug-init") | 878 | (let* ((longopts '(("--no-init-file") ("--no-site-file") |
| 879 | ("--no-x-resources") ("--debug-init") | ||
| 879 | ("--user") ("--iconic") ("--icon-type") ("--quick") | 880 | ("--user") ("--iconic") ("--icon-type") ("--quick") |
| 880 | ("--no-blinking-cursor") ("--basic-display"))) | 881 | ("--no-blinking-cursor") ("--basic-display"))) |
| 881 | (argi (pop args)) | 882 | (argi (pop args)) |
| @@ -906,7 +907,9 @@ please check its value") | |||
| 906 | ((member argi '("-Q" "-quick")) | 907 | ((member argi '("-Q" "-quick")) |
| 907 | (setq init-file-user nil | 908 | (setq init-file-user nil |
| 908 | site-run-file nil | 909 | site-run-file nil |
| 909 | inhibit-x-resources t)) | 910 | inhibit-x-resources t)) |
| 911 | ((member argi '("-no-x-resources")) | ||
| 912 | (setq inhibit-x-resources t)) | ||
| 910 | ((member argi '("-D" "-basic-display")) | 913 | ((member argi '("-D" "-basic-display")) |
| 911 | (setq no-blinking-cursor t | 914 | (setq no-blinking-cursor t |
| 912 | emacs-basic-display t) | 915 | emacs-basic-display t) |