]> git.eshelyaron.com Git - emacs.git/commit
tab-bar.el: Fix "void-function cl--set-substring" error
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 16 Dec 2022 16:00:53 +0000 (11:00 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 16 Dec 2022 16:00:53 +0000 (11:00 -0500)
commit9452dc4821a368fa4532423aaa1cc00034d8a139
treedb4441977c5c74f30ba8dd3b467062642b8404d2
parent4331771222fe670bd45c460b5e4f68e0dd4dc3c1
tab-bar.el: Fix "void-function cl--set-substring" error

* lisp/tab-bar.el: Use #' to quote function names.
Try and fit within 80 columns.
(tab-bar--load-buttons): Silence compiler warnings about `icons` functions.
(tab-bar-auto-width): Avoid the use of `substring` as a gv-place
because it requires `cl-lib` which we don't (want to) preload.
[ Maybe a better solution would be to not preload tab-bar.el.  ]
lisp/tab-bar.el