[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ebdb 00d06fb 1/2: Fix manipulation of auto-mode-alist
From: |
Eric Abrahamsen |
Subject: |
[elpa] externals/ebdb 00d06fb 1/2: Fix manipulation of auto-mode-alist |
Date: |
Tue, 9 Feb 2021 16:19:38 -0500 (EST) |
branch: externals/ebdb
commit 00d06fb4051deb1b4417433878eaef91602a6dd9
Author: Eric Abrahamsen <eric@ericabrahamsen.net>
Commit: Eric Abrahamsen <eric@ericabrahamsen.net>
Fix manipulation of auto-mode-alist
* ebdb.el (ebdb-load): Need the full file name, as auto-mode-alist
will look at `buffer-file-name'.
---
ebdb.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/ebdb.el b/ebdb.el
index 8a36d39..b1e71c4 100644
--- a/ebdb.el
+++ b/ebdb.el
@@ -5274,7 +5274,8 @@ All the important work is done by the `ebdb-db-load'
method."
(setq ebdb-db-list (nreverse ebdb-db-list))
(setq db-file-regexp
(regexp-opt (mapcar (lambda (db)
- (slot-value db 'file))
+ (expand-file-name
+ (slot-value db 'file)))
ebdb-db-list)))
;; If users look at the database files, they should be read as
;; utf-8-emacs.