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

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

[elpa] master e404950 14/62: Alias if-let* and when-let* for backwards c


From: Ian Dunn
Subject: [elpa] master e404950 14/62: Alias if-let* and when-let* for backwards compatibility
Date: Sat, 9 Dec 2017 14:33:58 -0500 (EST)

branch: master
commit e40495009868ecb51b012f602f902bcc7ff3ff68
Author: Ian Dunn <address@hidden>
Commit: Ian Dunn <address@hidden>

    Alias if-let* and when-let* for backwards compatibility
---
 paced.el | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/paced.el b/paced.el
index 34b0cfd..067c41f 100644
--- a/paced.el
+++ b/paced.el
@@ -53,6 +53,12 @@
 (require 'eieio-base)
 (require 'rx)
 
+;; Compatibility for Emacs < 26.1
+(unless (fboundp 'if-let*)
+  (defalias 'if-let* 'if-let))
+(unless (fboundp 'when-let*)
+  (defalias 'when-let* 'when-let))
+
 (defgroup paced nil
   "Predictive Abbreviation Completion and Expansion using Dictionaries"
   :group 'convenience)



reply via email to

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