]> git.eshelyaron.com Git - emacs.git/commit
Fix string-pixel-width with global setting of display-line-numbers
authorDmitry Gutov <dmitry@gutov.dev>
Sat, 18 Nov 2023 16:35:18 +0000 (18:35 +0200)
committerDmitry Gutov <dmitry@gutov.dev>
Sat, 18 Nov 2023 16:35:18 +0000 (18:35 +0200)
commit0128495afded0f1bd153925f99c19290760c7d65
tree0aad6eada96cd4fee3022132688bc54348cbe81d
parentd9e43f2197fa1d5ade1d483b15cc50c6d705b969
Fix string-pixel-width with global setting of display-line-numbers

* lisp/emacs-lisp/subr-x.el (string-pixel-width):
Instead of checking for display-line-numbers-mode, set the
display-line-numbers variable to nil (bug#67248).
lisp/emacs-lisp/subr-x.el