]> git.eshelyaron.com Git - emacs.git/commit
* lisp/outline.el: Pre-compute some frequent data for button icons (bug#57813)
authorJuri Linkov <juri@linkov.net>
Sun, 23 Oct 2022 16:54:31 +0000 (19:54 +0300)
committerJuri Linkov <juri@linkov.net>
Sun, 23 Oct 2022 16:54:31 +0000 (19:54 +0300)
commitf7816c94b61f87919afccbedbea5270ca5db4e15
treecac9237a0862d78893fa363917de39ccb7a073bb
parenta01bd1a208a5199fd1d76baade373f7f12f912a2
* lisp/outline.el: Pre-compute some frequent data for button icons (bug#57813)

(outline--button-icons): New buffer-local variable.
(outline-minor-mode): Set outline--button-icons.
Unify overlay name 'outline-margin' with 'outline-button'.
(outline--make-button-overlay, outline--make-margin-overlay)
(outline--insert-open-button, outline--insert-close-button): Remove functions.
(outline--create-button-icons, outline--insert-button): New functions
with code refactored from old functions.  Add more support for icon faces.
(outline--fix-up-all-buttons): Use outline--insert-button.
(outline--fix-buttons-after-change): Unify overlay name
'outline-margin' with 'outline-button'.

* lisp/minibuffer.el (completions-group-separator): Change face
attribute :strike-through to :underline.
lisp/minibuffer.el
lisp/outline.el