emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/dict-tree 50ae73e 085/154: Fixed bug in Read-Dict preve


From: Stefan Monnier
Subject: [elpa] externals/dict-tree 50ae73e 085/154: Fixed bug in Read-Dict preventing completion on dict files in load-path.
Date: Mon, 14 Dec 2020 12:21:50 -0500 (EST)

branch: externals/dict-tree
commit 50ae73ebc68fd97b2f0963f99e75294b85d92d43
Author: Toby S. Cubitt <toby-predictive@dr-qubit.org>
Commit: Toby S. Cubitt <toby-predictive@dr-qubit.org>

    Fixed bug in Read-Dict preventing completion on dict files in load-path.
---
 dict-tree.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dict-tree.el b/dict-tree.el
index 86dad93..05c1d5d 100644
--- a/dict-tree.el
+++ b/dict-tree.el
@@ -65,6 +65,8 @@
 ;; * fixed `dictree--update-cache', which previously never updated
 ;;   cached results for lists of prefixes in `dictree-complete' queries
 ;; * fixed implementation of 'both cache policy
+;; * fixed bug in `read-dict' preventing completion on dictionary files
+;;   in `load-path'
 ;;
 ;; Version 0.12.3
 ;; * bug-fix in `dictree--edebug-pretty-print'
@@ -3376,8 +3378,7 @@ extension, suitable for passing to `load-library'."
        (when (and (null (file-name-directory f))
                   (and (> (length f) 5)
                        (string= (substring f 0 5) "dict-"))
-                  (or (string= (file-name-extension f) "el")
-                      (string= (file-name-extension f) "elc"))
+                  (null (file-name-extension f))
                   (not (member (file-name-sans-extension f) dictname)))
          (push (file-name-sans-extension f) dictname))))
     ;; gather names of loaded dictionaries



reply via email to

[Prev in Thread] Current Thread [Next in Thread]