[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/forth-mode b40ffb3127 078/153: Fix building with Emacs 23.
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/forth-mode b40ffb3127 078/153: Fix building with Emacs 23. |
Date: |
Sat, 29 Jan 2022 08:02:20 -0500 (EST) |
branch: elpa/forth-mode
commit b40ffb3127856dbe8e5f17818ed4083bca7101b9
Author: Lars Brinkhoff <lars.brinkhoff@delphi.com>
Commit: Lars Brinkhoff <lars.brinkhoff@delphi.com>
Fix building with Emacs 23.
---
forth-mode.el | 3 ++-
forth-smie.el | 4 ++++
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/forth-mode.el b/forth-mode.el
index abd8ace805..c4b3678f5a 100644
--- a/forth-mode.el
+++ b/forth-mode.el
@@ -141,7 +141,8 @@
(forth-block-mode))
(setq font-lock-defaults '(forth-font-lock-keywords))
(setq-local completion-at-point-functions '(forth-expand-symbol))
- (setq-local syntax-propertize-function #'forth--syntax-propertize)
+ (when (boundp 'syntax-propertize-function)
+ (setq-local syntax-propertize-function #'forth--syntax-propertize))
(setq-local parse-sexp-lookup-properties t)
(forth-smie-setup)
(setq ;; font-lock-defaults
diff --git a/forth-smie.el b/forth-smie.el
index 20bf06cad8..94c17ea7be 100644
--- a/forth-smie.el
+++ b/forth-smie.el
@@ -22,6 +22,10 @@
(defvar forth-smie--basic-indent 2)
+(unless (fboundp 'pcase)
+ (defmacro pcase (form &rest forms)
+ 0))
+
(defun forth-smie--indentation-rules (kind token)
(pcase (cons kind token)
(`(:elem . basic) forth-smie--basic-indent)
- [nongnu] elpa/forth-mode 2e65a80a3b 110/153: Fontify buffer before testing word movement commands., (continued)
- [nongnu] elpa/forth-mode 2e65a80a3b 110/153: Fontify buffer before testing word movement commands., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode f44fa6481f 152/153: Forth 200x core.html is no longer there., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 5502816e37 134/153: Make it easier to emulate Open Firmware indentation style, ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 5076a08abc 057/153: Make C-c C-k work in all Forth modes., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 7cbb60f1d7 143/153: Highlight +field and friends, ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 5c1c928490 132/153: Make completion case insensitive, ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 37da497572 144/153: Switch back from interaction mode to source buffer., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 05e8a02796 139/153: Highlight LEAVE, ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 1f922f41f4 138/153: Declare forth-smie-basic-indent as safe local-variable., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 74c0e17c45 122/153: Improve beginning-of-defun, ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode b40ffb3127 078/153: Fix building with Emacs 23.,
ELPA Syncer <=
- [nongnu] elpa/forth-mode 1d85344467 113/153: Add commands to browse description in Forth standards, ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode c5e63e29f1 072/153: Basic indentation of control structures, ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 0d22cedbaf 133/153: Improve indentation of BEGIN-STRUCTURE/END-STRUCTURE, ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 47f33ea62a 063/153: Move interaction functions to forth-interactive-mode., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 6fac263222 068/153: Automatic build with Wercker., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 9cf3d777ec 064/153: Fix for C-c C-s forth-see., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode d90c4a46e0 118/153: Use funny characters (→, ¹ and ²) to mark positions in test strings., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode c99ed046df 074/153: Remove debug message., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 64209f501c 108/153: Merge pull request #35 from ellerh/forward-sexp-tests, ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode e6ee5ddf99 069/153: Handle ( ...) comments with syntax-propertize-function, ELPA Syncer, 2022/01/29