From c2891244481522aad3533d527f9ad655700ec6a8 Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Tue, 6 Aug 2013 22:36:29 +0200 Subject: [PATCH] * dgnushack.el (dgnushack-compile): Allow building on Emacs 23. --- lisp/ChangeLog | 4 ++++ lisp/dgnushack.el | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6a366709a..df62d4444 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2013-08-06 Lars Magne Ingebrigtsen + + * dgnushack.el (dgnushack-compile): Allow building on Emacs 23. + 2013-08-06 Jan Tatarik * gnus-icalendar.el (gnus-icalendar-event-from-ical): Replace pcase diff --git a/lisp/dgnushack.el b/lisp/dgnushack.el index 3f73152f0..fb638f785 100644 --- a/lisp/dgnushack.el +++ b/lisp/dgnushack.el @@ -339,9 +339,7 @@ This means that every warning will be reported as an error." (unless (locate-library "epg") (setq files (delete "plstore.el" files))) ;; Temporary code until we fix pcase and defmethod stuff. - (when (or (featurep 'xemacs) - (or (< emacs-major-version 24) - (< emacs-minor-version 3))) + (when (featurep 'xemacs) (setq files (delete "gnus-icalendar.el" files))) (dolist (file files) (setq file (expand-file-name file srcdir)) -- 2.25.1