[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ebdb a629bde 236/350: Last tweak to pop-up buffers
From: |
Eric Abrahamsen |
Subject: |
[elpa] externals/ebdb a629bde 236/350: Last tweak to pop-up buffers |
Date: |
Mon, 14 Aug 2017 11:46:45 -0400 (EDT) |
branch: externals/ebdb
commit a629bdefc5e226fa5da75a8ebefa1446164c2235
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>
Last tweak to pop-up buffers
* ebdb-com.el (ebdb-pop-up-window): If we're doing it manually, "buf"
needs to go in as a buffer object, not a string. This might get
fixed in master, but use `get-buffer' anyway. It's also necessary to
add a call to `set-window-prev-buffers', so that the window history
is nil, and it will be killed when the buffer is quit.
---
ebdb-com.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/ebdb-com.el b/ebdb-com.el
index 33eebf9..8b93b76 100644
--- a/ebdb-com.el
+++ b/ebdb-com.el
@@ -994,7 +994,8 @@ longest way. If SPLIT is nil, split 0.5.
If the whole POP argument is nil, just re-use the current
buffer."
- (let* ((split-window (car-safe pop))
+ (let* ((buf (get-buffer buf))
+ (split-window (car-safe pop))
(buffer-window (get-buffer-window buf t))
(horiz/vert (or (caddr pop)
(if (> (window-total-width split-window)
@@ -1027,6 +1028,7 @@ buffer."
'right)))
(set-window-buffer buffer-window buf)))
(display-buffer-record-window 'window buffer-window buf)
+ (set-window-prev-buffers buffer-window nil)
(when select
(select-window buffer-window))))
- [elpa] externals/ebdb 325426e 207/350: Add ebdb-complete.el (#32), (continued)
- [elpa] externals/ebdb 325426e 207/350: Add ebdb-complete.el (#32), Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb ea13778 221/350: Autoload calendar-absolute-from-gregorian, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb af13080 218/350: Support sending text messages via Signal, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 94749fd 224/350: Expand gnus-user-format-function-%s, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb c9f8f33 226/350: Be more when careful migrating timestamps, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb b7a28f3 227/350: Be more forgiving about contents of BBDB file when migrating, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb dd675a6 223/350: Revert changes to pop-up routine., Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 1096c6e 230/350: Search read transform functions needs to work for all methods, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb adfe13f 235/350: Fix stupidity, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 817414a 234/350: Drop object-print for cl-print-object, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb a629bde 236/350: Last tweak to pop-up buffers,
Eric Abrahamsen <=
- [elpa] externals/ebdb 444f762 231/350: Fix condition-case catch in ebdb-i18n-* methods, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 2de4f0e 241/350: Apparently I was spelling vCard wrong, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb f9d5af6 243/350: Add close parenthesis to email regexp delimiter, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 4882f66 238/350: Include addresses in vcard output, plus escaping, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 440cb9e 245/350: More search functions can use prefixes: mention in manual, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb c8bdb70 194/350: Don't assume Chinese names have both surname and given-names, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 212a1e1 212/350: Snarfing shouldn't pop up its own window, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb fc813dd 193/350: Yet more fixes to proper name formatting, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 06123d9 217/350: Make sure database files are decoded as utf-8-emacs, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb c07babf 203/350: If alt-names search fails, fall back on actual name field search, Eric Abrahamsen, 2017/08/14