[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/forth-mode 3deee67777 097/153: Emacs 23: Don't test font-l
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/forth-mode 3deee67777 097/153: Emacs 23: Don't test font-lock. |
Date: |
Sat, 29 Jan 2022 08:02:21 -0500 (EST) |
branch: elpa/forth-mode
commit 3deee677772dde5a3fdc1ec2380d32ce0f5d001d
Author: Lars Brinkhoff <lars@nocrew.org>
Commit: Lars Brinkhoff <lars@nocrew.org>
Emacs 23: Don't test font-lock.
---
test/tests.el | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/test/tests.el b/test/tests.el
index 3e67500f41..9b3337fe16 100644
--- a/test/tests.el
+++ b/test/tests.el
@@ -24,9 +24,10 @@
,@body))
(defun forth-assert-face (content pos face)
- (forth-with-temp-buffer content
- (font-lock-fontify-buffer)
- (should (eq face (get-text-property pos 'face)))))
+ (when (boundp 'syntax-propertize-function)
+ (forth-with-temp-buffer content
+ (font-lock-fontify-buffer)
+ (should (eq face (get-text-property pos 'face))))))
(ert-deftest forth-paren-comment-font-lock ()
(forth-assert-face "( )" 1 font-lock-comment-delimiter-face)
- [nongnu] branch elpa/forth-mode created (now 38d5152011), ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode fa62b36bf4 001/153: Add readme., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 67a9d94c18 012/153: Minor mode to display stack comments., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 0030189ff8 018/153: Prepare for MELPA., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 8471704670 116/153: Add more font lock keywords, ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 9300eb75c4 025/153: Remove stubs., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 778470cbcb 014/153: Load a file into an interactive Forth session., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 9855800cb7 053/153: Start a user manual., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 3deee67777 097/153: Emacs 23: Don't test font-lock.,
ELPA Syncer <=
- [nongnu] elpa/forth-mode b455a556fe 056/153: Add C-M-x, forth-eval-defun., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 973481a1c5 007/153: Add some autoloads., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 244c416c4d 013/153: Variable for secifying Forth executable., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode cdab2e4ec1 038/153: Also recognise .4th., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 695bb04ebc 002/153: A humble beginning., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 24d3d052fe 003/153: More work. Font lock and navigation somewhat usable., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 93756ec224 005/153: Some basic and flawed support for block files., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode bca8f01218 004/153: Make it work in older Emacsen without prog-mode., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode effb52b8e0 009/153: Load files from load-path., ELPA Syncer, 2022/01/29
- [nongnu] elpa/forth-mode 3047dfa37a 008/153: Run a subprocess Forth for interaction., ELPA Syncer, 2022/01/29