branch: externals/dict-tree commit 104fd29bb5b185c15c76e2ec55655fe2d4041359 Author: Toby Cubitt <toby-predict...@dr-qubit.org> Commit: tsc25 <toby-predict...@dr-qubit.org>
Roll back changes to read-dict - not clear that they're necessary even under windoze --- dict-tree.el | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/dict-tree.el b/dict-tree.el index 5defb11..dc6924c 100644 --- a/dict-tree.el +++ b/dict-tree.el @@ -2761,16 +2761,15 @@ data can not be used to recreate the dictionary using Prompt with PROMPT. By default, return DEFAULT. If DICTLIST is supplied, only complete on dictionaries in that list." - (let (dictnames dict) + (let (dictnames) (mapc (lambda (dict) (unless (or (null (dictree-name dict)) (member (dictree-name dict) dictnames)) (push (list (dictree-name dict)) dictnames))) (or dictlist dictree-loaded-list)) - (setq dict (completing-read prompt dictnames nil t nil - 'dictree-history default)) - ;; needed to work around bug with (intern-soft "") under windoze - (unless (string= dict "") (eval (intern-soft dict))))) + (eval (intern-soft + (completing-read prompt dictnames nil t nil + 'dictree-history default)))))