bongo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bongo-devel] [PATCH] Disable undo in *Bongo Seek* buffer


From: Romain Francoise
Subject: [bongo-devel] [PATCH] Disable undo in *Bongo Seek* buffer
Date: Wed, 06 Dec 2006 18:30:45 +0100

This tiny patch adds a leading space to the Bongo Seek buffer name,
which disables undo in that buffer (and could have other effects we
want).

I noticed that after 5 hours of playing the same track (a web radio),
Emacs pops up a warning saying that the undo list has grown too much.
But there's no reason to allow undo in that buffer at all.

--- old-Bongo/bongo.el  2006-12-06 18:27:22.000000000 +0100
+++ new-Bongo/bongo.el  2006-12-06 18:27:22.000000000 +0100
@@ -5276,7 +5276,7 @@ That is, when `bongo-seek-electric-mode'
 (defun bongo-seek ()
   "Interactively seek in the current Bongo track."
   (interactive)
-  (setq bongo-seek-buffer (get-buffer-create "*Bongo Seek*"))
+  (setq bongo-seek-buffer (get-buffer-create " *Bongo Seek*"))
   (if bongo-seek-electric-mode
       (unwind-protect
           (save-window-excursion

-- 
Romain Francoise <address@hidden> | The sea! the sea! the open
it's a miracle -- http://orebokech.com/ | sea! The blue, the fresh, the
                                        | ever free! --Bryan W. Procter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]