File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1234,7 +1234,7 @@ fn test4();")
1234
1234
(with-temp-buffer
1235
1235
(rust-mode )
1236
1236
(insert str)
1237
- (font-lock-ensure )
1237
+ (font-lock-fontify-buffer )
1238
1238
(buffer-string )))
1239
1239
1240
1240
(defun rust-test-group-str-by-face (str )
@@ -1503,7 +1503,7 @@ this_is_not_a_string();)"
1503
1503
1......................500......................50
1504
1504
\" #;
1505
1505
" )
1506
- (font-lock-ensure )
1506
+ (font-lock-fontify-buffer )
1507
1507
(goto-char 530 )
1508
1508
(insert " #" )
1509
1509
; ; We have now closed the raw string. Check that the whole string is
@@ -1880,7 +1880,7 @@ fn indented_already() {
1880
1880
\n // The previous line already has its spaces
1881
1881
}
1882
1882
" )
1883
- (font-lock-ensure )
1883
+ (font-lock-fontify-buffer )
1884
1884
(goto-line 11 )
1885
1885
(move-to-column 0 )
1886
1886
(indent-for-tab-command )
@@ -2115,7 +2115,7 @@ fn main() {
2115
2115
(with-temp-buffer
2116
2116
(rust-mode )
2117
2117
(insert content)
2118
- (font-lock-ensure )
2118
+ (font-lock-fontify-buffer )
2119
2119
(dolist (pair pairs)
2120
2120
(let* ((open-pos (nth 0 pair))
2121
2121
(close-pos (nth 1 pair)))
@@ -2148,7 +2148,7 @@ fn main() {
2148
2148
(ert-deftest rust-test-two-character-quotes-in-a-row ()
2149
2149
(with-temp-buffer
2150
2150
(rust-mode )
2151
- (font-lock-ensure )
2151
+ (font-lock-fontify-buffer )
2152
2152
(insert " '\\ n','a', fn" )
2153
2153
(font-lock-after-change-function 1 12 0 )
2154
2154
@@ -3116,7 +3116,7 @@ impl Two<'a> {
3116
3116
(with-temp-buffer
3117
3117
(rust-mode )
3118
3118
(insert original)
3119
- (font-lock-ensure )
3119
+ (font-lock-fontify-buffer )
3120
3120
3121
3121
(goto-char point-pos)
3122
3122
(deactivate-mark )
You can’t perform that action at this time.
0 commit comments