[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ebdb 16185b5 07/16: Fix docstring of ebdb-popup-window
From: |
Eric Abrahamsen |
Subject: |
[elpa] externals/ebdb 16185b5 07/16: Fix docstring of ebdb-popup-window |
Date: |
Sun, 16 Jun 2019 12:23:07 -0400 (EDT) |
branch: externals/ebdb
commit 16185b59b267c773a0a6bc409877f3403c77fe5f
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>
Fix docstring of ebdb-popup-window
* ebdb-com.el (ebdb-popup-window): No longer uses half the window,
mention `ebdb-default-window-size'.
---
ebdb-com.el | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/ebdb-com.el b/ebdb-com.el
index f238f4d..826c745 100644
--- a/ebdb-com.el
+++ b/ebdb-com.el
@@ -799,7 +799,6 @@ buffer."
(cl-defgeneric ebdb-popup-window (major-mode)
"Return a spec for how to pop up a window on an *EBDB* buffer.
-
This generic function dispatches on the current value of
major-mode. The return value should be a two-element list
of (window split), in which WINDOW is the window to split, and
@@ -813,12 +812,13 @@ using the current window.")
(cl-defmethod ebdb-popup-window (&context (major-mode ebdb-mode))
"When popping up from an existing *EBDB* buffer, just reuse the window.
-
Ie, don't pop up at all."
nil)
(cl-defmethod ebdb-popup-window ()
- "When popping up from a random window, use half the window."
+ "Return a default pop-up spec for an unspecified mode.
+If there's no specialization for the current mode, default to
+splitting the current window, using `ebdb-default-window-size'."
(list (get-buffer-window) ebdb-default-window-size))
(defun ebdb-display-records (records &optional fmt append
@@ -1455,9 +1455,8 @@ Use the symbol `mark', or the mark provided by MARK."
(interactive (list (read-string "New buffer name: ")))
(when (eql major-mode 'ebdb-mode)
(rename-buffer
- (generate-new-buffer-name
- (format "*%s-%s*" ebdb-buffer-name new-name)))
- (force-mode-line-update)))
+ (format "*%s-%s*" ebdb-buffer-name new-name) t)
+ (force-mode-line-update t)))
;; Unloading/Reloading/Disabling
- [elpa] externals/ebdb updated (05b3270 -> 22895a4), Eric Abrahamsen, 2019/06/16
- [elpa] externals/ebdb b4e5cd4 03/16: Quit EBDB window after message is sent in mu4e, Eric Abrahamsen, 2019/06/16
- [elpa] externals/ebdb 480fc95 02/16: Fix functions for browsing anniversary dates, Eric Abrahamsen, 2019/06/16
- [elpa] externals/ebdb 4a5ac62 05/16: Fix some plist-get calls to use tags, not symbols, Eric Abrahamsen, 2019/06/16
- [elpa] externals/ebdb 688917f 04/16: Use previous object as default when editing anniversary field, Eric Abrahamsen, 2019/06/16
- [elpa] externals/ebdb 16185b5 07/16: Fix docstring of ebdb-popup-window,
Eric Abrahamsen <=
- [elpa] externals/ebdb 2568b9a 10/16: Fix dumb bug in gnus and message window config, Eric Abrahamsen, 2019/06/16
- [elpa] externals/ebdb 7a6794b 08/16: Further error with slots as keyword vs symbol, Eric Abrahamsen, 2019/06/16
- [elpa] externals/ebdb 838103e 01/16: New option ebdb-default-window-size to control popup sizes, Eric Abrahamsen, 2019/06/16
- [elpa] externals/ebdb 48a311a 14/16: Fix bug in popup buffer window splitting, Eric Abrahamsen, 2019/06/16
- [elpa] externals/ebdb 1bcfaa1 12/16: Remove EBDB-Message buffer after killing or postponing message, Eric Abrahamsen, 2019/06/16
- [elpa] externals/ebdb e98b18a 06/16: New command ebdb-create-record-and-role, Eric Abrahamsen, 2019/06/16
- [elpa] externals/ebdb 22895a4 16/16: Bump version to 0.6.9, Eric Abrahamsen, 2019/06/16
- [elpa] externals/ebdb 7921f6a 11/16: Have ebdb-pop-up-window better honor ebdb-default-window-size, Eric Abrahamsen, 2019/06/16
- [elpa] externals/ebdb 4e1ea30 15/16: Fix to "Remove EBDB-Message buffer after killing..." etc, Eric Abrahamsen, 2019/06/16
- [elpa] externals/ebdb b3dfcb8 13/16: New command ebdb-format-these-records, Eric Abrahamsen, 2019/06/16