From 0eb5f40f857340325bbad47cdc5a413ae32ee053 Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Mon, 17 Nov 2008 00:45:25 +0000 Subject: [PATCH] (minibuffer-default-add-function): Fix docstring to use clear text "default values" instead of obscure references to the dynamic variable `minibuffer-default'. --- lisp/ChangeLog | 28 ++++++++++++++++++++++++++++ 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 @@ +2008-11-17 Juri Linkov + + * isearch.el (isearch-filter-predicate): Rename from + `isearch-success-function'. Rename default value from + `isearch-success-function-default' to + `isearch-filter-invisible'. Doc fix. + (isearch-filter-invisible): Rename from + `isearch-success-function-default'. Doc fix. + (isearch-search, isearch-lazy-highlight-search): Rename + `isearch-success-function' to `isearch-filter-predicate'. + + * dired-aux.el (dired-isearch-filter-predicate-orig): Rename from + `dired-isearch-orig-success-function'. + (dired-isearch-filenames-toggle, dired-isearch-filenames-setup) + (dired-isearch-filenames-end): Rename `isearch-success-function' to + `isearch-filter-predicate'. Doc fix. + (dired-isearch-filter-filenames): Rename from + `dired-isearch-success-function'. + + * info.el (Info-search, Info-mode): Rename + `isearch-success-function' to `isearch-filter-predicate'. + (Info-isearch-filter-predicate): Rename from + `Info-search-success-function'. + + * simple.el (minibuffer-default-add-function): Fix docstring to + use clear text "default values" instead of obscure references to + the dynamic variable `minibuffer-default'. + 2008-11-16 Glenn Morris * 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." (defvar minibuffer-temporary-goal-position nil) (defvar minibuffer-default-add-function 'minibuffer-default-add-completions - "Function run by `goto-history-element' before consuming `minibuffer-default'. -This is useful to dynamically add more elements to the list `minibuffer-default' + "Function run by `goto-history-element' before consuming default values. +This is useful to dynamically add more elements to the list of default values when `goto-history-element' reaches the end of this list. Before calling this function `goto-history-element' sets the variable `minibuffer-default-add-done' to t, so it will call this function only -- 2.39.2