mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Restore line numbers in artist-mode #2742
The issue was fixed upstream, but won't be available until Emacs 28.
This commit is contained in:
@ -517,8 +517,10 @@ windows, switch to `doom-fallback-buffer'. Otherwise, delegate to original
|
|||||||
#'display-line-numbers-mode)
|
#'display-line-numbers-mode)
|
||||||
|
|
||||||
;; Fix #2742: cursor is off by 4 characters in `artist-mode'
|
;; Fix #2742: cursor is off by 4 characters in `artist-mode'
|
||||||
;; REVIEW: Reported upstream https://debbugs.gnu.org/cgi/bugreport.cgi?bug=43811
|
;; REVIEW Reported upstream https://debbugs.gnu.org/cgi/bugreport.cgi?bug=43811
|
||||||
(add-hook 'artist-mode-hook #'doom-disable-line-numbers-h)
|
;; DEPRECATED Fixed in Emacs 28; remove when we drop 27 support
|
||||||
|
(unless EMACS28+
|
||||||
|
(add-hook 'artist-mode-hook #'doom-disable-line-numbers-h))
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
Reference in New Issue
Block a user