]> git.eshelyaron.com Git - emacs.git/commit
Improve the cursor-face feature.
authorJimmy Aguilar Mena <spacibba@aol.com>
Mon, 14 Mar 2022 01:38:46 +0000 (02:38 +0100)
committerJimmy Aguilar Mena <spacibba@aol.com>
Mon, 14 Mar 2022 01:38:46 +0000 (02:38 +0100)
commite06c4039c2d77f5cacb8c2a76e310e4a2e041fbc
tree6f1fc3c31dd40f3f0ec985ce6f9655d22f75916d
parent7380b6f0adf94b785e693d494816b419b55bf7cb
Improve the cursor-face feature.

Use a minor mode to reduce potential performance issues.

* lisp/simple.el (cursor-face-highlight-mode) : New minor mode
(completion-setup-function) : Use the new minor mode
cursor-face-highlight-mode in completions.
(redisplay--unhighlight-overlay-function) : Add -- to the name
(redisplay--highlight-overlay-function) : Make the face parameter
optional and add -- in the name.
doc/lispref/text.texi
etc/NEWS
lisp/simple.el