diff options
| author | Juri Linkov | 2008-11-17 00:45:25 +0000 |
|---|---|---|
| committer | Juri Linkov | 2008-11-17 00:45:25 +0000 |
| commit | 0eb5f40f857340325bbad47cdc5a413ae32ee053 (patch) | |
| tree | 2c33785a70f9dd33c4ff773a2da0ecf02e14497a | |
| parent | a2c72e6cb904c3f21da95c8840f80343c362edcd (diff) | |
| download | emacs-0eb5f40f857340325bbad47cdc5a413ae32ee053.tar.gz emacs-0eb5f40f857340325bbad47cdc5a413ae32ee053.zip | |
(minibuffer-default-add-function): Fix docstring to
use clear text "default values" instead of obscure references to
the dynamic variable `minibuffer-default'.
| -rw-r--r-- | lisp/ChangeLog | 28 | ||||
| -rw-r--r-- | lisp/simple.el | 4 |
2 files changed, 30 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 197cd596372..93fcad496d3 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,31 @@ | |||
| 1 | 2008-11-17 Juri Linkov <juri@jurta.org> | ||
| 2 | |||
| 3 | * isearch.el (isearch-filter-predicate): Rename from | ||
| 4 | `isearch-success-function'. Rename default value from | ||
| 5 | `isearch-success-function-default' to | ||
| 6 | `isearch-filter-invisible'. Doc fix. | ||
| 7 | (isearch-filter-invisible): Rename from | ||
| 8 | `isearch-success-function-default'. Doc fix. | ||
| 9 | (isearch-search, isearch-lazy-highlight-search): Rename | ||
| 10 | `isearch-success-function' to `isearch-filter-predicate'. | ||
| 11 | |||
| 12 | * dired-aux.el (dired-isearch-filter-predicate-orig): Rename from | ||
| 13 | `dired-isearch-orig-success-function'. | ||
| 14 | (dired-isearch-filenames-toggle, dired-isearch-filenames-setup) | ||
| 15 | (dired-isearch-filenames-end): Rename `isearch-success-function' to | ||
| 16 | `isearch-filter-predicate'. Doc fix. | ||
| 17 | (dired-isearch-filter-filenames): Rename from | ||
| 18 | `dired-isearch-success-function'. | ||
| 19 | |||
| 20 | * info.el (Info-search, Info-mode): Rename | ||
| 21 | `isearch-success-function' to `isearch-filter-predicate'. | ||
| 22 | (Info-isearch-filter-predicate): Rename from | ||
| 23 | `Info-search-success-function'. | ||
| 24 | |||
| 25 | * simple.el (minibuffer-default-add-function): Fix docstring to | ||
| 26 | use clear text "default values" instead of obscure references to | ||
| 27 | the dynamic variable `minibuffer-default'. | ||
| 28 | |||
| 1 | 2008-11-16 Glenn Morris <rgm@gnu.org> | 29 | 2008-11-16 Glenn Morris <rgm@gnu.org> |
| 2 | 30 | ||
| 3 | * term/ns-win.el (ns-extended-platform-support-mode): | 31 | * term/ns-win.el (ns-extended-platform-support-mode): |
diff --git a/lisp/simple.el b/lisp/simple.el index 2c356d40e60..ac3ce2b248b 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -1323,8 +1323,8 @@ makes the search case-sensitive." | |||
| 1323 | (defvar minibuffer-temporary-goal-position nil) | 1323 | (defvar minibuffer-temporary-goal-position nil) |
| 1324 | 1324 | ||
| 1325 | (defvar minibuffer-default-add-function 'minibuffer-default-add-completions | 1325 | (defvar minibuffer-default-add-function 'minibuffer-default-add-completions |
| 1326 | "Function run by `goto-history-element' before consuming `minibuffer-default'. | 1326 | "Function run by `goto-history-element' before consuming default values. |
| 1327 | This is useful to dynamically add more elements to the list `minibuffer-default' | 1327 | This is useful to dynamically add more elements to the list of default values |
| 1328 | when `goto-history-element' reaches the end of this list. | 1328 | when `goto-history-element' reaches the end of this list. |
| 1329 | Before calling this function `goto-history-element' sets the variable | 1329 | Before calling this function `goto-history-element' sets the variable |
| 1330 | `minibuffer-default-add-done' to t, so it will call this function only | 1330 | `minibuffer-default-add-done' to t, so it will call this function only |