]> git.eshelyaron.com Git - emacs.git/commit
Don't warn when calling hl-lock-mode from init file
authorStefan Kangas <stefankangas@gmail.com>
Sun, 2 Mar 2025 17:04:32 +0000 (18:04 +0100)
committerEshel Yaron <me@eshelyaron.com>
Tue, 4 Mar 2025 21:02:40 +0000 (22:02 +0100)
commit912d13f112b9c0dc71e8ea039c16f1b5c164fc71
tree7fd0cef8bd6ff755143b854d87415c49f4e55313
parentabd7b7011a1960516ea2ab6705744373a8d945ee
Don't warn when calling hl-lock-mode from init file

This was a compatibility kluge introduced in Emacs 22.1, twenty years
ago.  It's fair to assume that any former Emacs 21 user have seen this
warning already, and will have updated their init file.  So remove it.

* lisp/hi-lock.el (hi-lock-mode): Don't warn when calling plain
hi-lock-mode from init file.
(hi-lock-archaic-interface-message-used)
(hi-lock-archaic-interface-deduce): Remove associated variables.

(cherry picked from commit fad9b7dce73d81d669cb22f880b65c867ac36b54)
lisp/hi-lock.el