[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dict-tree d6ea2b5 088/154: Fixed interactive argument h
From: |
Stefan Monnier |
Subject: |
[elpa] externals/dict-tree d6ea2b5 088/154: Fixed interactive argument handling in predictive-fast-learn-from-buffer. |
Date: |
Mon, 14 Dec 2020 12:21:51 -0500 (EST) |
branch: externals/dict-tree
commit d6ea2b53bd76b569bcbba9c37e78158d37b0ff0c
Author: Toby S. Cubitt <toby-predictive@dr-qubit.org>
Commit: Toby S. Cubitt <toby-predictive@dr-qubit.org>
Fixed interactive argument handling in predictive-fast-learn-from-buffer.
Although the read-dict prompt claimed to default to all dictionaries, it
didn't in fact handle an emptry input properly.
---
dict-tree.el | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/dict-tree.el b/dict-tree.el
index e8b7545..fd769fd 100644
--- a/dict-tree.el
+++ b/dict-tree.el
@@ -2,10 +2,10 @@
;;; dict-tree.el --- dictionary data structure package
-;; Copyright (C) 2004-2010 Toby Cubitt
+;; Copyright (C) 2004-2011 Toby Cubitt
;; Author: Toby Cubitt <toby-predictive@dr-qubit.org>
-;; Version: 0.12.4
+;; Version: 0.12.5
;; Keywords: dictionary, tree
;; URL: http://www.dr-qubit.org/emacs.php
@@ -53,6 +53,9 @@
;;; Change log:
;;
+;; Version 0.12.5
+;; * fixed default value handling in `read-dict'
+;;
;; Version 0.12.4
;; * minor bug-fix to `dictree--edebug-pretty-print' to print "nil"
;; instead of "()"
@@ -3536,7 +3539,9 @@ extension, suitable for passing to `load-library'."
(void-variable nil))
(eval (intern-soft dictname)))
;; if user selected an unloaded dictionary, return dict name
- (allow-unloaded dictname)
+ ((and allow-unloaded (stringp dictname)) dictname)
+ ;; if DEFAULT was specified, return that
+ (default default)
;; should never get here!
(t (error "Unknown error reading dictionary")))
))
@@ -3602,7 +3607,7 @@ extension, suitable for passing to `load-library'."
))
-(ad-define-subr-args 'edebug-prin1 '(object &optional printcharfun))
+;(ad-define-subr-args 'edebug-prin1 '(object &optional printcharfun))
(defadvice edebug-prin1
(around dictree activate compile preactivate)
@@ -3614,7 +3619,7 @@ extension, suitable for passing to `load-library'."
ad-do-it)))
-(ad-define-subr-args 'edebug-prin1-to-string '(object &optional noescape))
+;(ad-define-subr-args 'edebug-prin1-to-string '(object &optional noescape))
(defadvice edebug-prin1-to-string
(around dictree activate compile preactivate)
- [elpa] externals/dict-tree d31ddac 065/154: Bug-fixes to meta-dictionary handling, (continued)
- [elpa] externals/dict-tree d31ddac 065/154: Bug-fixes to meta-dictionary handling, Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree c553822 066/154: Small bug-fix in dictree--do-query, Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 15ca12e 069/154: Re-filled to 72 chars/line, for mailing to gnu-emacs-sources list, Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree dca8bcd 070/154: Advised edebug-prin1 and edebug-prin1-to-string to prevent edebug hanging, Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 5f549f0 073/154: Bug-fixes to dictree--write-meta-dict-code, Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 0ef5b58 078/154: Revert "Replaced advice with cedet-edebug.el for pretty-printing", Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree df22e8e 074/154: Bug-fixes to edebug advice, Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 3794988 079/154: Simplified advice-based edebug pretty-printing of tries and dictionaries., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 238fd6b 082/154: Fixed bug in dictree--merge that caused one too many completions to be cached., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree a256974 086/154: Minor typo-fixes in docstrings., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree d6ea2b5 088/154: Fixed interactive argument handling in predictive-fast-learn-from-buffer.,
Stefan Monnier <=
- [elpa] externals/dict-tree 39ace6f 094/154: Added autoload cookies., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree a1bff31 096/154: Trivial whitespace tidying., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree e752b53 101/154: Accept symbols for dictionary arguments., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 8aa6047 106/154: Suppress bogus unused lexical variable byte-compiler warnings., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 4b3cc3c 122/154: Do lexbind test at compile-time instead of load-time., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree a4b2a1b 126/154: Improve edebug pretty-printing., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree b7173e8 152/154: Fix lexical binding bugs., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 3a4d3f1 015/154: Added dictree-mapcar function; code tidying., Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 1dde6e1 030/154: Define missing setf methods for data cells, Stefan Monnier, 2020/12/14
- [elpa] externals/dict-tree 3969702 125/154: Tidy up unnecessary macros by making them into defsubst or defun., Stefan Monnier, 2020/12/14