branch: externals/debbugs
commit 73de9fa374f91d2854f5f384f4c1bb32ac1d85fb
Author: Lars Magne Ingebrigtsen <[email protected]>
Commit: Lars Magne Ingebrigtsen <[email protected]>
(debbugs-dump-persistency-file): Don't destroy the list while saving it.
---
ChangeLog | 2 ++
debbugs-gnu.el | 3 ++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 5f64d2f..c0f6384 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,8 @@
* debbugs-gnu.el (debbugs-toggle-sort): Sort the tagged bugs at
the end.
(debbugs-emacs): Init the saved bugs on call, not on load.
+ (debbugs-dump-persistency-file): Don't destroy the list while
+ saving it.
2011-07-05 Michael Albinus <[email protected]>
diff --git a/debbugs-gnu.el b/debbugs-gnu.el
index 1aa4c53..bb4fd38 100644
--- a/debbugs-gnu.el
+++ b/debbugs-gnu.el
@@ -73,7 +73,8 @@
(insert
";; -*- emacs-lisp -*-\n"
";; Debbugs tags connection history. Don't change this file.\n\n"
- (format "(setq debbugs-local-tags '%S)" (sort debbugs-local-tags '<)))
+ (format "(setq debbugs-local-tags '%S)"
+ (sort (copy-sequence debbugs-local-tags) '<)))
(write-region
(point-min) (point-max) debbugs-persistency-file))))