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

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

[nongnu] elpa/bash-completion c494a89070 168/313: Run tests under Emacs


From: ELPA Syncer
Subject: [nongnu] elpa/bash-completion c494a89070 168/313: Run tests under Emacs 24.1: alias letf to cl-letf.
Date: Sat, 3 Dec 2022 10:59:27 -0500 (EST)

branch: elpa/bash-completion
commit c494a8907090e16a07428a935a7c98858cc95116
Author: Stephane Zermatten <szermatt@gmx.net>
Commit: Stephane Zermatten <szermatt@gmx.net>

    Run tests under Emacs 24.1: alias letf to cl-letf.
---
 test/bash-completion-test.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/test/bash-completion-test.el b/test/bash-completion-test.el
index 375ac635ff..a4ae30e35b 100644
--- a/test/bash-completion-test.el
+++ b/test/bash-completion-test.el
@@ -33,6 +33,9 @@
 (require 'cl)
 (require 'ert)
 
+; for Emacs 24.1
+(unless (fboundp 'cl-letf) (defalias 'cl-letf 'letf))
+
 (defmacro bash-completion-test-with-buffer (content &rest body)
   "Create a temporary buffer with CONTENT and execute BODY.
 



reply via email to

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