1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-17 10:06:13 +00:00
emacs/lisp/emulation
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
..
cua-base.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
cua-gmrk.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
cua-rect.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
edt-lk201.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
edt-mapper.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
edt-pc.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
edt-vt100.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
edt.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
keypad.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
viper-cmd.el * lisp/emulation/viper.el: A couple of docstring format tweaks 2015-02-05 11:05:07 -05:00
viper-ex.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
viper-init.el Add predicate' arg to read-buffer' and use it for erc-iswitchb 2015-03-16 14:49:01 -04:00
viper-keym.el * lisp/emulation/viper.el: A couple of docstring format tweaks 2015-02-05 11:05:07 -05:00
viper-macs.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
viper-mous.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
viper-util.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
viper.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00