1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Revert "Silence warning when requiring ruby-ts-mode"

This reverts commit bf81706988.

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.
This commit is contained in:
Stefan Kangas 2023-12-30 01:06:41 +01:00
parent 291763feca
commit fe2b68d405

View file

@ -1206,7 +1206,7 @@ leading double colon is not added."
(syntax-ppss-flush-cache (cl-loop for r in ranges
minimize (car r))))))
(if (treesit-ready-p 'ruby t)
(if (treesit-ready-p 'ruby)
;; Copied from ruby-mode.el.
(add-to-list 'auto-mode-alist
(cons (concat "\\(?:\\.\\(?:"