APPROVE COMMIT EDE
NOTE: This patch has been committed.
# HG changeset patch
# User Aidan Kehoe <kehoea(a)parhasard.net>
# Date 1325275370 0
# Node ID bec7ae251bbc7f1fe99285e6b0db8f6c5feaab6b
# Parent 7c9718534071d2a3cf2fc052df13aa1892e75895
#'save-excursion before #'set-buffer, #'ede-load-cache; avoids compile issues
ChangeLog addition:
2011-12-30 Aidan Kehoe <kehoea(a)parhasard.net>
* ede.el (ede-load-cache):
#'save-excursion before #'set-buffer here, this code is run at
compile time (via (require 'ede), especially in semantic), and the
naked set-buffer interacts badly with the byte-compiler.
diff -r 7c9718534071 -r bec7ae251bbc ChangeLog
--- a/ChangeLog Sat Sep 03 14:44:30 2011 +0200
+++ b/ChangeLog Fri Dec 30 20:02:50 2011 +0000
@@ -1,3 +1,10 @@
+2011-12-30 Aidan Kehoe <kehoea(a)parhasard.net>
+
+ * ede.el (ede-load-cache):
+ #'save-excursion before #'set-buffer here, this code is run at
+ compile time (via (require 'ede), especially in semantic), and the
+ naked set-buffer interacts badly with the byte-compiler.
+
2009-07-27 Norbert Koch <viteno(a)xemacs.org>
* Makefile (VERSION): XEmacs package 1.03 released.
diff -r 7c9718534071 -r bec7ae251bbc ede.el
--- a/ede.el Sat Sep 03 14:44:30 2011 +0200
+++ b/ede.el Fri Dec 30 20:02:50 2011 +0000
@@ -408,7 +408,7 @@
(defun ede-load-cache ()
"Load the cache of EDE projects."
(condition-case nil
- (progn
+ (save-excursion
(set-buffer (find-file-noselect ede-project-placeholder-cache-file t))
(goto-char (point-min))
(let ((c (read (current-buffer)))
--
‘Iodine deficiency was endemic in parts of the UK until, through what has been
described as “an unplanned and accidental public health triumph”, iodine was
added to cattle feed to improve milk production in the 1930s.’
(EN Pearce, Lancet, June 2011)
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches