diff options
| author | Glenn Morris | 2014-02-26 14:45:18 -0500 |
|---|---|---|
| committer | Glenn Morris | 2014-02-26 14:45:18 -0500 |
| commit | 259887e8087c39d8ccabbfbe56861e2f1fe96c91 (patch) | |
| tree | e0d3019fdec4303c98b0b1ca4b2b55f3941f63eb | |
| parent | 1d491ef203a07bf570436b8f7f47b965eee1cd2b (diff) | |
| download | emacs-259887e8087c39d8ccabbfbe56861e2f1fe96c91.tar.gz emacs-259887e8087c39d8ccabbfbe56861e2f1fe96c91.zip | |
* lisp/startup.el (command-line): Don't init the tty in daemon mode.
Ref: http://debbugs.gnu.org/16859#15
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/startup.el | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 510784e459a..cee4d322d69 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2014-02-26 Glenn Morris <rgm@gnu.org> | 1 | 2014-02-26 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * startup.el (command-line): Don't init the tty in daemon mode. | ||
| 4 | |||
| 3 | Avoid calling tty-setup-hook twice, eg if a term file | 5 | Avoid calling tty-setup-hook twice, eg if a term file |
| 4 | explicitly calls tty-run-terminal-initialization. (Bug#16859) | 6 | explicitly calls tty-run-terminal-initialization. (Bug#16859) |
| 5 | * faces.el (tty-run-terminal-initialization): Add run-hook argument. | 7 | * faces.el (tty-run-terminal-initialization): Add run-hook argument. |
diff --git a/lisp/startup.el b/lisp/startup.el index 531cba2af55..d6d0ff9bd42 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -1285,7 +1285,8 @@ the `--debug-init' option to view a complete error backtrace." | |||
| 1285 | ;; Load library for our terminal type. | 1285 | ;; Load library for our terminal type. |
| 1286 | ;; User init file can set term-file-prefix to nil to prevent this. | 1286 | ;; User init file can set term-file-prefix to nil to prevent this. |
| 1287 | (unless (or noninteractive | 1287 | (unless (or noninteractive |
| 1288 | initial-window-system) | 1288 | initial-window-system |
| 1289 | (daemonp)) | ||
| 1289 | (tty-run-terminal-initialization (selected-frame) nil t)) | 1290 | (tty-run-terminal-initialization (selected-frame) nil t)) |
| 1290 | 1291 | ||
| 1291 | ;; Update the out-of-memory error message based on user's key bindings | 1292 | ;; Update the out-of-memory error message based on user's key bindings |