summaryrefslogtreecommitdiff
path: root/lisp/linum.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/linum.el')
-rw-r--r--lisp/linum.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/linum.el b/lisp/linum.el
index 0b4b0083ed6..0a5d8bb2c0b 100644
--- a/lisp/linum.el
+++ b/lisp/linum.el
@@ -119,6 +119,10 @@ Linum mode is a buffer-local minor mode."
;; if some large buffer was under linum-mode when
;; desktop was saved. So we disable linum-mode for
;; non-client frames in a daemon session.
+
+ ;; Note that nowadays, this actually doesn't show line
+ ;; numbers in client frames at all, because we visit the
+ ;; file before creating the client frame. See bug#35726.
(and (daemonp) (null (frame-parameter nil 'client))))
(linum-mode 1)))