about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2008-02-04 12:35:48 +0100
committerChristian Neukirchen <chneukirchen@gmail.com>2008-02-04 12:35:48 +0100
commit68f0de5d10fd5adc62fedd310fff04b8ac7bb697 (patch)
tree47832b01fe291ca17194a27c3efcab8b5285a587
parentdfb603a20ac9f9fa7bb4f1753af435a836315edf (diff)
downloadgitsum-68f0de5d10fd5adc62fedd310fff04b8ac7bb697.tar.gz
gitsum-68f0de5d10fd5adc62fedd310fff04b8ac7bb697.tar.xz
gitsum-68f0de5d10fd5adc62fedd310fff04b8ac7bb697.zip
Make a new *gitsum*-buffer every time
#  gitsum.el |    2 +-
#  1 files changed, 1 insertions(+), 1 deletions(-)
#
-rw-r--r--gitsum.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitsum.el b/gitsum.el
index 5c88b69..c7fd666 100644
--- a/gitsum.el
+++ b/gitsum.el
@@ -72,6 +72,6 @@ A numeric argument serves as a repeat count."
 (defun gitsum ()
   "Entry point into gitsum-diff-mode."
   (interactive)
-  (switch-to-buffer "*gitsum*")
+  (switch-to-buffer (generate-new-buffer "*gitsum*"))
   (gitsum-diff-mode)
   (gitsum-refresh))
\ No newline at end of file