diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/startup.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/startup.el b/lisp/startup.el index 91491ac25e2..8268ac53400 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -1893,7 +1893,12 @@ With a prefix argument, any user input hides the splash screen." | |||
| 1893 | (setq line 0) | 1893 | (setq line 0) |
| 1894 | (unless (< column 1) | 1894 | (unless (< column 1) |
| 1895 | (move-to-column (1- column))) | 1895 | (move-to-column (1- column))) |
| 1896 | (setq column 0)))))))) | 1896 | (setq column 0)))))) |
| 1897 | ;; In unusual circumstances, the execution of Lisp code due | ||
| 1898 | ;; to command-line options can cause the last visible frame | ||
| 1899 | ;; to be deleted. In this case, kill emacs to avoid an | ||
| 1900 | ;; abort later. | ||
| 1901 | (unless (frame-live-p (selected-frame)) (kill-emacs nil)))) | ||
| 1897 | 1902 | ||
| 1898 | ;; If 3 or more files visited, and not all visible, | 1903 | ;; If 3 or more files visited, and not all visible, |
| 1899 | ;; show user what they all are. But leave the last one current. | 1904 | ;; show user what they all are. But leave the last one current. |