diff options
| author | Stefan Monnier | 2013-08-05 14:05:46 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2013-08-05 14:05:46 -0400 |
| commit | dc6c0edad789a8aab129ae12b8f064d0e912cca7 (patch) | |
| tree | c1a48c60a90799f3a05b7db15ac66bd2111bd78e /lib-src | |
| parent | 98a428c15ad48f8579b00b68aae6a89b34238b12 (diff) | |
| download | emacs-dc6c0edad789a8aab129ae12b8f064d0e912cca7.tar.gz emacs-dc6c0edad789a8aab129ae12b8f064d0e912cca7.zip | |
Revert introduction of isearch-filter-predicates.
Rely on add-function instead.
* lisp/loadup.el: Preload nadvice.
* lisp/isearch.el (isearch-filter-predicates): Rename it back to
isearch-filter-predicate.
(isearch-message-prefix): Use advice-function-mapc and advice
properties to get the isearch-message-prefix.
(isearch-search, isearch-lazy-highlight-search): Revert to funcall
instead of run-hook-with-args-until-failure.
(isearch-filter-visible): Not obsolete any more.
* lisp/replace.el (perform-replace): Revert to funcall
instead of run-hook-with-args-until-failure.
* lisp/wdired.el (wdired-change-to-wdired-mode): Use add-function.
* lisp/dired-aux.el (dired-isearch-filenames-mode): Rename from
dired-isearch-filenames-toggle; make it into a proper minor mode.
Use add/remove-function.
(dired-isearch-filenames-setup, dired-isearch-filenames-end):
Call the minor-mode rather than add/remove-hook.
(dired-isearch-filter-filenames):
Remove isearch-message-prefix property.
* lisp/info.el (Info--search-loop): New function, extracted from Info-search.
Funcall isearch-filter-predicate instead of
run-hook-with-args-until-failure isearch-filter-predicates.
(Info-search): Use it.
(Info-mode): Use isearch-filter-predicate instead of
isearch-filter-predicates.
* src/lisp.mk (lisp): Add nadvice.elc.
* lib-src/makefile.w32-in (lisp2): Add nadvice.elc.
Fixes: debbugs:14714
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/ChangeLog | 4 | ||||
| -rw-r--r-- | lib-src/makefile.w32-in | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 0336eae0981..da97246ef64 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * makefile.w32-in (lisp2): Add nadvice.elc. | ||
| 4 | |||
| 1 | 2013-08-05 Eli Zaretskii <eliz@gnu.org> | 5 | 2013-08-05 Eli Zaretskii <eliz@gnu.org> |
| 2 | 6 | ||
| 3 | * update-game-score.c (read_score): Try reading a character before | 7 | * update-game-score.c (read_score): Try reading a character before |
diff --git a/lib-src/makefile.w32-in b/lib-src/makefile.w32-in index 9656a3badec..dee80c4b560 100644 --- a/lib-src/makefile.w32-in +++ b/lib-src/makefile.w32-in | |||
| @@ -251,6 +251,7 @@ lisp2 = \ | |||
| 251 | $(lispsource)register.elc \ | 251 | $(lispsource)register.elc \ |
| 252 | $(lispsource)replace.elc \ | 252 | $(lispsource)replace.elc \ |
| 253 | $(lispsource)simple.elc \ | 253 | $(lispsource)simple.elc \ |
| 254 | $(lispsource)emacs-lisp/nadvice.elc \ | ||
| 254 | $(lispsource)minibuffer.elc \ | 255 | $(lispsource)minibuffer.elc \ |
| 255 | $(lispsource)startup.elc \ | 256 | $(lispsource)startup.elc \ |
| 256 | $(lispsource)subr.elc \ | 257 | $(lispsource)subr.elc \ |