diff options
| author | Micah Chalmer <micah@micahchalmer.net> | 2015-02-06 22:16:33 -0500 |
|---|---|---|
| committer | Micah Chalmer <micah@micahchalmer.net> | 2015-02-06 22:16:33 -0500 |
| commit | 6b57bbf52530acdfdd9cc4b6c2ec198d0ac57e22 (patch) | |
| tree | e837ef406514270ee1a5cb6a8834daad3766b7ad /rust-mode-tests.el | |
| parent | d2c6d6c3b1a4fb711528535574c9e035ac1482b2 (diff) | |
| download | rust-mode-6b57bbf52530acdfdd9cc4b6c2ec198d0ac57e22.tar.gz | |
Make features (and their tests) work on emacs 23
Diffstat (limited to 'rust-mode-tests.el')
| -rw-r--r-- | rust-mode-tests.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/rust-mode-tests.el b/rust-mode-tests.el index a0e27b0..347dcd2 100644 --- a/rust-mode-tests.el +++ b/rust-mode-tests.el @@ -289,7 +289,11 @@ very very very long string (rust-test-manip-code deindented 1 - (lambda () (indent-region 1 (buffer-size))) + (lambda () + ;; The indentation will fial in some cases if the syntax properties are + ;; not set. This only happens when font-lock fontifies the buffer. + (font-lock-fontify-buffer) + (indent-region 1 (buffer-size))) indented))) |
