Functions prefixed with `turn-on-foo' are quite old, and in general
subsumed by the corresponding `foo-mode` command.
* lisp/display-line-numbers.el (turn-on-display-line-numbers-mode):
Rename with library prefix, mark as internal. Nix autoload.
(remove-hook 'pre-command-hook #'display-line-numbers-update-width t)
(setq display-line-numbers nil)))
-;;;###autoload
-(defun turn-on-display-line-numbers-mode ()
+(defun display-line-numbers--turn-on ()
"Turn on `display-line-numbers-mode'."
(unless (or (minibufferp)
;; taken from linum.el
;;;###autoload
(define-globalized-minor-mode global-display-line-numbers-mode
- display-line-numbers-mode turn-on-display-line-numbers-mode)
+ display-line-numbers-mode display-line-numbers--turn-on)
(provide 'display-line-numbers)