branch: externals/dict-tree commit 9946a1df2e6821991769ac9c0f55b199ec79d647 Author: Toby Cubitt <toby-predict...@dr-qubit.org> Commit: Toby S. Cubitt <toby-predict...@dr-qubit.org>
Dictionary now defaults to current dict in in most dictionary-related commands. Fixed bug that this revealed in read-dict. All interactive dictionary commands should now display message indicating success. --- dict-tree.el | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dict-tree.el b/dict-tree.el index 310e45b..1c3c8b5 100644 --- a/dict-tree.el +++ b/dict-tree.el @@ -5,7 +5,7 @@ ;; Copyright (C) 2004-2009 Toby Cubitt ;; Author: Toby Cubitt <toby-predict...@dr-qubit.org> -;; Version: 0.12.1 +;; Version: 0.12.2 ;; Keywords: dictionary, tree ;; URL: http://www.dr-qubit.org/emacs.php @@ -53,6 +53,9 @@ ;;; Change log: ;; +;; Version 0.12.2 +;; * bug-fix to DEFAULT argument handling in `read-dict' +;; ;; Version 0.12.1 ;; * added `edebug-prin1' and `edebug-prin1-to-string' advice to prevent ;; edebug hanging whilst printing large dictionaries @@ -3319,7 +3322,7 @@ extension, suitable for passing to `load-library'." (if allow-unloaded 'dictree-history 'dictree-loaded-history) - default)) + (and (dictree-p default) (dictree-name default)))) ;; return dictionary (cond ;; if user typed a file name, return that