(iswitchb-delim): New variable, suggested by Ted Roden.

This commit is contained in:
Stephen Eglen 2008-07-22 08:47:00 +00:00
parent 276db9eb1f
commit 6a0e4c608b
2 changed files with 12 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2008-07-22 Stephen Eglen <stephen@gnu.org>
* iswitchb.el (iswitchb-delim): New variable, suggested by Ted
Roden.
2008-07-22 Sven Joachim <svenjoac@gmx.de> (tiny change)
* vc-dir.el (vc-dir-recompute-file-state): Fix mismatched

View file

@ -368,6 +368,11 @@ See also `iswitchb-newbuffer'."
:type 'hook
:group 'iswitchb)
(defcustom iswitchb-delim ","
"Delimiter to put between buffer names when displaying results."
:type 'string
:group 'iswitchb)
(defvar iswitchb-all-frames 'visible
"*Argument to pass to `walk-windows' when finding visible buffers.
See documentation of `walk-windows' for useful values.")
@ -1340,7 +1345,7 @@ Modified from `icomplete-completions'."
most-is-exact
(alternatives
(mapconcat (if most 'iswitchb-output-completion
'identity) comps ",")))
'identity) comps iswitchb-delim)))
(concat
@ -1363,7 +1368,7 @@ Modified from `icomplete-completions'."
;; list all alternatives
open-bracket-prospects
(if most-is-exact
(concat "," alternatives)
(concat iswitchb-delim alternatives)
alternatives)
close-bracket-prospects))))))