aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/startup.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/startup.el b/lisp/startup.el
index c1e56fcdff3..4eb71abaacf 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -2534,9 +2534,9 @@ nil default-directory" name)
2534 ((eq initial-buffer-choice t) 2534 ((eq initial-buffer-choice t)
2535 (get-buffer-create "*scratch*")) 2535 (get-buffer-create "*scratch*"))
2536 (t 2536 (t
2537 (error "initial-buffer-choice must be a string, a function, or t."))))) 2537 (error "`initial-buffer-choice' must be a string, a function, or t")))))
2538 (unless (buffer-live-p buf) 2538 (unless (buffer-live-p buf)
2539 (error "initial-buffer-choice is not a live buffer.")) 2539 (error "Value returned by `initial-buffer-choice' is not a live buffer: %S" buf))
2540 (setq displayable-buffers (cons buf (delq buf displayable-buffers))))) 2540 (setq displayable-buffers (cons buf (delq buf displayable-buffers)))))
2541 2541
2542 ;; Display the first two buffers in `displayable-buffers'. If 2542 ;; Display the first two buffers in `displayable-buffers'. If