[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/swift-mode 142c7db 023/496: Merge pull request #7 from syo
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/swift-mode 142c7db 023/496: Merge pull request #7 from syohex/fix-for-older-emacs |
Date: |
Sun, 29 Aug 2021 11:33:00 -0400 (EDT) |
branch: elpa/swift-mode
commit 142c7db2e99426fd036ecf345e1f6a5fcb0d89ae
Merge: 19a61d9 fdc576f
Author: Chris Barrett <chris.d.barrett@me.com>
Commit: Chris Barrett <chris.d.barrett@me.com>
Merge pull request #7 from syohex/fix-for-older-emacs
Fix for older Emacs(< 24.3)
---
swift-mode.el | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/swift-mode.el b/swift-mode.el
index 6045713..e533974 100644
--- a/swift-mode.el
+++ b/swift-mode.el
@@ -30,6 +30,13 @@
(require 'dash)
(require 'rx)
+(eval-and-compile
+ ;; Added in Emacs 24.3
+ (unless (fboundp 'setq-local)
+ (defmacro setq-local (var val)
+ "Set variable VAR to value VAL in current buffer."
+ (list 'set (list 'make-local-variable (list 'quote var)) val))))
+
;; Font lock.
(defvar swift-mode--type-decl-keywords
- [nongnu] branch elpa/swift-mode created (now 800efe2), ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 00001ea 009/496: Fix keywords list, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode e90cf5e 012/496: Set comment vars, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode f39c05b 013/496: Tweak comment syntax, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 592a33f 021/496: Copy syntax table from rust-mode., ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 142c7db 023/496: Merge pull request #7 from syohex/fix-for-older-emacs,
ELPA Syncer <=
- [nongnu] elpa/swift-mode 90802b5 041/496: Use lexical scoping, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 8641ebc 048/496: Mention old-school installation method, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 8e72839 004/496: Add basic syntax table, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 5274877 010/496: Add single-line comments to syntax table, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode d110515 011/496: Font lock tweaks, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 272473b 005/496: Remove currently unused mode map, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode cbb19f2 003/496: Add basic font-locking, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 7df8b6d 037/496: Remove dash.el dependency., ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 09b50fa 042/496: [Fix #12] Merge mode code in a single file, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode c882c70 053/496: Replace `if` exprs with `when` exprs, ELPA Syncer, 2021/08/29