# HG changeset patch # User Stephen Eglen # Date 1216716380 0 # Node ID f118ad76e2862e882627bf76209c336889d66975 # Parent 32da3745adc88deff780bb5f46c62a2679d522d2 (iswitchb-delim): New variable, suggested by Ted Roden. diff -r 32da3745adc8 -r f118ad76e286 lisp/iswitchb.el --- a/lisp/iswitchb.el Tue Jul 22 08:42:19 2008 +0000 +++ b/lisp/iswitchb.el Tue Jul 22 08:46:20 2008 +0000 @@ -368,6 +368,11 @@ :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 @@ most-is-exact (alternatives (mapconcat (if most 'iswitchb-output-completion - 'identity) comps ","))) + 'identity) comps iswitchb-delim))) (concat @@ -1363,7 +1368,7 @@ ;; list all alternatives open-bracket-prospects (if most-is-exact - (concat "," alternatives) + (concat iswitchb-delim alternatives) alternatives) close-bracket-prospects))))))