|
From: | Stefan Monnier |
Subject: | Re: [Emacs-diffs] master f57c710: Use a named function for global minor mode turn-on argument |
Date: | Mon, 24 Jul 2017 10:33:42 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
> ;;;###autoload > +(defun turn-on-display-line-numbers-mode () > + "Turn on `display-line-numbers-mode'." > + (unless (or (minibufferp) > + ;; taken from linum.el > + (and (daemonp) (null (frame-parameter nil 'client)))) > + (display-line-numbers-mode))) Could you make it use the "display-line-numbers-" prefix? Stefan "who'd also use a ยจ--" since it's unlikely to be useful outside of the package"
[Prev in Thread] | Current Thread | [Next in Thread] |