diff --git a/core/core-ui.el b/core/core-ui.el index edb5c00c5..2bb78c8b5 100644 --- a/core/core-ui.el +++ b/core/core-ui.el @@ -517,8 +517,10 @@ windows, switch to `doom-fallback-buffer'. Otherwise, delegate to original #'display-line-numbers-mode) ;; Fix #2742: cursor is off by 4 characters in `artist-mode' -;; REVIEW: Reported upstream https://debbugs.gnu.org/cgi/bugreport.cgi?bug=43811 -(add-hook 'artist-mode-hook #'doom-disable-line-numbers-h) +;; REVIEW Reported upstream https://debbugs.gnu.org/cgi/bugreport.cgi?bug=43811 +;; DEPRECATED Fixed in Emacs 28; remove when we drop 27 support +(unless EMACS28+ + (add-hook 'artist-mode-hook #'doom-disable-line-numbers-h)) ;;