diff options
| author | Tom Tromey <tom@tromey.com> | 2016-03-09 09:36:28 -0700 |
|---|---|---|
| committer | Tom Tromey <tom@tromey.com> | 2016-03-09 16:56:34 -0700 |
| commit | bc77e168478d0588b238f06c9c8301992b605044 (patch) | |
| tree | dbee202e2423bd3dab1f0df67a64fcc6dbb2b60f /rust-mode-tests.el | |
| parent | bd44088e136135771aabc1a47257d13591ad8c0c (diff) | |
| download | rust-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.el | 5 |
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)) |
