标签:mic mac 显示行号 ice max str ref min form
(global-linum-mode t)
(defadvice linum-update-window (around linum-dynamic activate)
  (let* ((w (length (number-to-string
             (count-lines (point-min) (point-max)))))
     (linum-format (concat "%" (number-to-string w) "d ")))
   ad-do-it))
(global-linum-mode t) 的含义为,在 Emacs 上的所有 buffers 中开启 linum-mode ,以显示行号。标签:mic mac 显示行号 ice max str ref min form
原文地址:https://www.cnblogs.com/asvblog/p/11456142.html