[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bongo-patches] Fix logic in `bongo-rename-local-file-track' (thanks to
From: |
Daniel Brockman |
Subject: |
[bongo-patches] Fix logic in `bongo-rename-local-file-track' (thanks to Daniel Jensen) |
Date: |
Thu, 05 Apr 2007 18:45:44 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux) |
2007-04-05 Daniel Brockman <address@hidden>
Fix logic in `bongo-rename-local-file-track'
(thanks to Daniel Jensen).
diff -rN -u old-bongo/bongo.el new-bongo/bongo.el
--- old-bongo/bongo.el 2007-04-05 18:45:36.000000000 +0200
+++ new-bongo/bongo.el 2007-04-05 18:45:36.000000000 +0200
@@ -8185,11 +8185,10 @@
(error "No local file track at point"))
(let ((old-name (bongo-line-file-name)))
(rename-file old-name new-name)
- (if (or (and (eq bongo-update-references-to-renamed-files 'ask)
- (y-or-n-p
- (concat "Search all Bongo buffers and update "
- "references to the renamed file? ")))
- bongo-update-references-to-renamed-files)
+ (if (if (eq bongo-update-references-to-renamed-files 'ask)
+ (y-or-n-p (concat "Search all Bongo buffers and update "
+ "references to the renamed file? "))
+ bongo-update-references-to-renamed-files)
(dolist (buffer (buffer-list))
(when (bongo-buffer-p buffer)
(set-buffer buffer)
--
Daniel Brockman <address@hidden>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bongo-patches] Fix logic in `bongo-rename-local-file-track' (thanks to Daniel Jensen),
Daniel Brockman <=