diff options
| author | Stefan Kangas | 2023-12-30 01:06:41 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2023-12-30 01:09:19 +0100 |
| commit | fe2b68d405251498518b279a17a87f4cbcf82479 (patch) | |
| tree | 0f0ec8a9ab3568b9657e98100dd38b3f02cc2493 | |
| parent | 291763feca34174290345055a6748436839f7606 (diff) | |
| download | emacs-fe2b68d405251498518b279a17a87f4cbcf82479.tar.gz emacs-fe2b68d405251498518b279a17a87f4cbcf82479.zip | |
Revert "Silence warning when requiring ruby-ts-mode"
This reverts commit bf81706988f6b1b9d6e8033c8227f0129e04ef03.
We deliberately don't silence these warnings, so that a user who loads
the mode without having the grammar installed sees the warning and
realizes the problem in time to fix it.
| -rw-r--r-- | lisp/progmodes/ruby-ts-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/ruby-ts-mode.el b/lisp/progmodes/ruby-ts-mode.el index 284880a0a36..c7e0b8f49ad 100644 --- a/lisp/progmodes/ruby-ts-mode.el +++ b/lisp/progmodes/ruby-ts-mode.el | |||
| @@ -1206,7 +1206,7 @@ leading double colon is not added." | |||
| 1206 | (syntax-ppss-flush-cache (cl-loop for r in ranges | 1206 | (syntax-ppss-flush-cache (cl-loop for r in ranges |
| 1207 | minimize (car r)))))) | 1207 | minimize (car r)))))) |
| 1208 | 1208 | ||
| 1209 | (if (treesit-ready-p 'ruby t) | 1209 | (if (treesit-ready-p 'ruby) |
| 1210 | ;; Copied from ruby-mode.el. | 1210 | ;; Copied from ruby-mode.el. |
| 1211 | (add-to-list 'auto-mode-alist | 1211 | (add-to-list 'auto-mode-alist |
| 1212 | (cons (concat "\\(?:\\.\\(?:" | 1212 | (cons (concat "\\(?:\\.\\(?:" |