diff options
| author | Glenn Morris | 2018-08-10 11:37:11 -0700 |
|---|---|---|
| committer | Glenn Morris | 2018-08-10 11:37:11 -0700 |
| commit | bd6b6cdb62aac5be34a8bb367f43d8367fc341f8 (patch) | |
| tree | b5386b322b0b247ab44eefd12e1fa865844249f7 /lisp | |
| parent | 506ea8a2f70d8c9d53a34ea9469d3edbe6655f0c (diff) | |
| parent | 71c92d89137b7fdde6c2bd4bed9b8dfda5fa53dd (diff) | |
| download | emacs-bd6b6cdb62aac5be34a8bb367f43d8367fc341f8.tar.gz emacs-bd6b6cdb62aac5be34a8bb367f43d8367fc341f8.zip | |
Merge from origin/emacs-26
71c92d8 Fix copying text properties by 'format'
96be6b6 Improve error messages regarding initial-buffer-choice (Bug#2...
00fb127 * test/lisp/wdired-tests.el (wdired-test-unfinished-edit-01):...
Conflicts:
lisp/startup.el
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/startup.el | 4 |
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 |