branch: externals/ebdb commit 5e42dff0dfb4b207cbf7836107ec6adc979be661 Author: Eric Abrahamsen <e...@ericabrahamsen.net> Commit: Eric Abrahamsen <e...@ericabrahamsen.net>
Forgot to pop-to-buffer to after creating citation buffer * ebdb-com.el (ebdb-cite-records-ebdb): Not much use if you can't see it. --- ebdb-com.el | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/ebdb-com.el b/ebdb-com.el index fb089c2..4789817 100644 --- a/ebdb-com.el +++ b/ebdb-com.el @@ -2171,12 +2171,14 @@ otherwise inline." current-prefix-arg (ebdb-do-records) (completing-read "Style: " '("org" "html" "message") nil t))) - (with-current-buffer (get-buffer-create "*EBDB Citation*") - (pcase style - ("org" (org-mode)) - ("html" (html-mode)) - (_ (message-mode))) - (ebdb-cite-records records arg))) + (let ((buf (get-buffer-create "*EBDB Citation*"))) + (with-current-buffer buf + (pcase style + ("org" (org-mode)) + ("html" (html-mode)) + (_ (message-mode))) + (ebdb-cite-records records arg)) + (pop-to-buffer buf))) ;;; completion