emacs/lisp/erc
Stefan Monnier f925fc93ba Add predicate' arg to read-buffer' and use it for erc-iswitchb
Fixes: debbugs:20116

* src/minibuf.c (Fread_buffer): Add `predicate' argument.
* src/callint.c (Fcall_interactively): Adjust calls accordingly.

* lisp/erc/erc.el (erc-switch-to-buffer): Rename from erc-iswitchb and rewrite
using read-buffer.
(erc--buffer-p): New function, extracted from erc-buffer-filter.
(erc-buffer-filter): Use it.
(erc-with-all-buffers-of-server): Silence compile warning if the return
value is unused.
(erc-is-valid-nick-p, erc-common-server-suffixes, erc-get-arglist)
(erc-command-name, erc-popup-input-buffer): Use \` and \' to match
beg/end of string.

* lisp/obsolete/iswitchb.el (iswitchb-read-buffer): Add `predicate' arg.
* lisp/isearchb.el (isearchb-iswitchb): Adjust accordingly.
* lisp/ido.el (ido-read-buffer): Add `predicate' argument.
* lisp/misearch.el (unload-function-defs-list): Declare before use.
2015-03-16 14:49:01 -04:00
..
ChangeLog Add predicate' arg to read-buffer' and use it for erc-iswitchb 2015-03-16 14:49:01 -04:00
ChangeLog.01 Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ChangeLog.02 Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ChangeLog.03 Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ChangeLog.04 Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ChangeLog.05 Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ChangeLog.06 Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ChangeLog.07 Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ChangeLog.08 Update copyright year to 2015 2015-01-01 14:26:41 -08:00
erc-autoaway.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
erc-backend.el erc-backend.el: Give hook-name a default value of nil and add-to-list unconditionally. Fixes debbugs:19363 2015-01-14 16:55:44 -05:00
erc-button.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
erc-capab.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
erc-compat.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
erc-dcc.el Don't downcase system diagnostics' first letters 2015-01-21 20:29:42 -08:00
erc-desktop-notifications.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
erc-ezbounce.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
erc-fill.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
erc-goodies.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
erc-ibuffer.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
erc-identd.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
erc-imenu.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
erc-join.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
erc-lang.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
erc-list.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
erc-log.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
erc-match.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
erc-menu.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
erc-netsplit.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
erc-networks.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
erc-notify.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
erc-page.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
erc-pcomplete.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
erc-replace.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
erc-ring.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
erc-services.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
erc-sound.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
erc-speedbar.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
erc-spelling.el * lisp/textmodes/flyspell.el (flyspell-word): Defvar. 2015-02-13 22:45:18 -05:00
erc-stamp.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
erc-track.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
erc-truncate.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
erc-xdcc.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
erc.el Add predicate' arg to read-buffer' and use it for erc-iswitchb 2015-03-16 14:49:01 -04:00