summaryrefslogtreecommitdiff
path: root/rust-mode-tests.el
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2016-03-09 09:36:28 -0700
committerTom Tromey <tom@tromey.com>2016-03-09 16:56:34 -0700
commitbc77e168478d0588b238f06c9c8301992b605044 (patch)
treedbee202e2423bd3dab1f0df67a64fcc6dbb2b60f /rust-mode-tests.el
parentbd44088e136135771aabc1a47257d13591ad8c0c (diff)
downloadrust-mode-bc77e168478d0588b238f06c9c8301992b605044.tar.gz
remove emacs 23 support
This removes the various Emacs 23 compatibility hacks. Fixes #137. Fixes #139. This also obsoletes PR #141.
Diffstat (limited to 'rust-mode-tests.el')
-rw-r--r--rust-mode-tests.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/rust-mode-tests.el b/rust-mode-tests.el
index a99d36b..2c0431c 100644
--- a/rust-mode-tests.el
+++ b/rust-mode-tests.el
@@ -2524,8 +2524,9 @@ Fontification needs to include this whole string or none of it.
;; no error--the tests will be skipped.
(require 'elec-pair nil t)
-;; The emacs 23 version of ERT does not have test skipping functionality. So
-;; don't even define these tests if elec-pair is not available.
+;; The emacs 23 and 24 versions of ERT do not have test skipping
+;; functionality. So don't even define these tests if elec-pair is
+;; not available.
(when (featurep 'elec-pair)
(defun test-electric-pair-insert (original point-pos char closer)
(let ((old-electric-pair-mode electric-pair-mode))