[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ebdb ab1480b 078/350: Remove ebdb-this-buffer-name
From: |
Eric Abrahamsen |
Subject: |
[elpa] externals/ebdb ab1480b 078/350: Remove ebdb-this-buffer-name |
Date: |
Mon, 14 Aug 2017 11:46:07 -0400 (EDT) |
branch: externals/ebdb
commit ab1480bb3f9c0a7977761ff77485167ab4f4dff8
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>
Remove ebdb-this-buffer-name
Probably unnecessary, but we might want to pass a buffer in as first
argument to `ebdb-pop-up-window'.
---
ebdb-com.el | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/ebdb-com.el b/ebdb-com.el
index 3891bfb..7ab0223 100644
--- a/ebdb-com.el
+++ b/ebdb-com.el
@@ -170,9 +170,6 @@ Used by `ebdb-mouse-menu'."
(defvar ebdb-buffer-name "EBDB"
"Default name of the EBDB buffer, without surrounding asterisks.")
-(defvar-local ebdb-this-buffer-name nil
- "Buffer-local var holding the name of this particular EBDB buffer.")
-
;;; Buffer-local variables for the database.
(defvar-local ebdb-records nil
"EBDB records list.
@@ -718,8 +715,6 @@ mode."
;; in the *EBDB* buffer. It is intentionally not permanent-local.
;; A value of nil indicates that we need to (re)process the records.
(setq ebdb-records records)
- ;; The following might not be needed anymore?
- (set (make-local-variable 'ebdb-this-buffer-name) (buffer-name
(current-buffer)))
(unless (or ebdb-silent-internal ebdb-silent)
(message "Formatting EBDB..."))
@@ -921,9 +916,7 @@ Select this window if SELECT is non-nil.
If `ebdb-mua-pop-up' is 'horiz, and the first window matching
the predicate HORIZ-P is wider than the car of `ebdb-horiz-pop-up-window-size'
then the window will be split horizontally rather than vertically."
- (let ((buffer (get-buffer ebdb-this-buffer-name)))
- (unless buffer
- (error "No EBDB buffer to display"))
+ (let ((buffer (current-buffer)))
(cond ((let ((window (get-buffer-window buffer t)))
;; We already have a EBDB window so that at most we select it
(and window
- [elpa] externals/ebdb 76621c7 091/350: Clean up keymap bindings, (continued)
- [elpa] externals/ebdb 76621c7 091/350: Clean up keymap bindings, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb e159e3a 070/350: Yet another method definition in the wrong place, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 38db90d 063/350: Improve ebdb-copy-mail-as-kill, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb f397e3d 092/350: Add missing require statement, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb ae23a9b 095/350: Fix to ebdb-parse with field-name-simple, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 6197578 107/350: Change default separator of org tags, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb f1edaed 075/350: Prevent eieio-persistent-save from changing db file slot, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb c7d378b 071/350: Autoload eieio-customize-object, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 31bf2cf 117/350: No, that's not the proper way to create a &context catchall, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb a2de313 110/350: Install ebdb-save as a kill-emacs-hook, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb ab1480b 078/350: Remove ebdb-this-buffer-name,
Eric Abrahamsen <=
- [elpa] externals/ebdb 1c4fadd 080/350: Make ebdb-record-name a get-or-get-and-set operation, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 9aab682 088/350: Add a generic for ebdb-db-editable, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 4263d5b 090/350: Fix the reload process, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb dd4f251 098/350: Split off ebdb-record-field for field classes, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 8c20202 103/350: Update company-ebdb to work with new search style, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 5ec40d5 102/350: Add sections on searching and record marking to manual, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 7da77f4 089/350: Expand ebdb-with-record-edits, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 8312ea4 109/350: Allow company-ebdb to work in notmuch-message-mode as well, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb dcb7dbc 104/350: Change default keybindings in Gnus, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 9ac0f0f 111/350: Searching on empty strings should happen in field-search method, Eric Abrahamsen, 2017/08/14