branch: externals/ebdb
commit 5861f6710adfe2e540bbe1ae2ef6b83be7bcdf1f
Author: Eric Abrahamsen <[email protected]>
Commit: Eric Abrahamsen <[email protected]>
Use nth 2 instead of caddr
* ebdb-com.el (ebdb-pop-up-window): Not available in Emacs 25? It's
annoying to look at, anyway.
---
ebdb-com.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ebdb-com.el b/ebdb-com.el
index 34c7c31..6b3271f 100644
--- a/ebdb-com.el
+++ b/ebdb-com.el
@@ -1186,7 +1186,7 @@ popped up from."
(let* ((buf (get-buffer buf))
(split-window (car-safe pop))
(buffer-window (get-buffer-window buf t))
- (direction (or (caddr pop)
+ (direction (or (nth 2 pop)
(if (> (window-total-width split-window)
(window-total-height split-window))
'right