emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/webpaste 4fb8873 037/298: Changed emacs version requires f


From: ELPA Syncer
Subject: [nongnu] elpa/webpaste 4fb8873 037/298: Changed emacs version requires from 25 to 24
Date: Thu, 9 Dec 2021 18:59:40 -0500 (EST)

branch: elpa/webpaste
commit 4fb8873d2d2073bfab60aec395fd9b188f33e37d
Author: Elis Axelsson <elis.axelsson@gmail.com>
Commit: Elis Axelsson <elis.axelsson@gmail.com>

    Changed emacs version requires from 25 to 24
---
 webpaste.el | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/webpaste.el b/webpaste.el
index 385e5ab..8493f0c 100644
--- a/webpaste.el
+++ b/webpaste.el
@@ -7,7 +7,7 @@
 ;; Package-Version: 0.0.1
 ;; Version: 0.0.1
 ;; Keywords: convenience, comm, paste
-;; Package-Requires: ((emacs "25.1") (request "0.2.0"))
+;; Package-Requires: ((emacs "24.1") (request "0.2.0"))
 
 ;;; Commentary:
 
@@ -184,6 +184,13 @@ When we run out of providers to try, it will restart since
    (webpaste-paste-region)))            ; Paste region
 
 
+;; Define macro for emacs <25 compability
+(eval-when-compile
+  (when (< emacs-major-version 25)
+    (defmacro save-mark-and-excursion (&rest body)
+      `(save-excursion ,@body))))
+
+
 (provide 'webpaste)
 
 ;;; webpaste.el ends here



reply via email to

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