]> git.eshelyaron.com Git - emacs.git/commitdiff
(iswitchb-delim): New variable, suggested by Ted Roden.
authorStephen Eglen <stephen@gnu.org>
Tue, 22 Jul 2008 08:47:00 +0000 (08:47 +0000)
committerStephen Eglen <stephen@gnu.org>
Tue, 22 Jul 2008 08:47:00 +0000 (08:47 +0000)
lisp/ChangeLog
lisp/iswitchb.el

index 3ec840f687a669c4ee9898d7973b1f3b82cd8ef4..bfa524d6f0614113ff00d54410340e7b2235749e 100644 (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
index dfc58d4165db466547d74edad2f9ba3c58b688b4..b3dce824c362b4d1ae68112b9563663f9c924c6e 100644 (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))))))