bongo-patches
[Top][All Lists]
Advanced

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

[bongo-patches] Fix bugs in `bongo-copy-line-backward' and `bongo-copy-l


From: Daniel Brockman
Subject: [bongo-patches] Fix bugs in `bongo-copy-line-backward' and `bongo-copy-line-forward' preventing the normal copy commands from working
Date: Tue, 27 Mar 2007 17:26:20 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux)

2007-03-27  Daniel Brockman  <address@hidden>

        Fix bugs in `bongo-copy-line-backward' and
        `bongo-copy-line-forward' preventing the normal copy
        commands from working.

diff -rN -u old-bongo/bongo.el new-bongo/bongo.el
--- old-bongo/bongo.el  2007-03-27 17:26:14.000000000 +0200
+++ new-bongo/bongo.el  2007-03-27 17:26:14.000000000 +0200
@@ -7391,6 +7391,7 @@
 (defun bongo-copy-line-forward (&optional n)
   "In Bongo, copy the next N tracks or sections or lines of text."
   (interactive "p")
+  (or n (setq n 1))
   (if (< n 0)
       (bongo-copy-line-backward (- n))
     (when (> n 0)
@@ -7416,6 +7417,7 @@
 (defun bongo-copy-line-backward (&optional n)
   "In Bongo, copy the previous N tracks or sections or lines of text."
   (interactive "p")
+  (or n (setq n 1))
   (if (< n 0)
       (bongo-copy-line-forward (- n))
     (when (> n 0)
-- 
Daniel Brockman <address@hidden>

reply via email to

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