Closed GoogleCodeExporter closed 8 years ago
There is a example:
;; Function to disable linum-mode
(defun remove-linum-mode-of-nav-buffer ()
(unless (equal nil (string-match "*nav*" (buffer-name))) (linum-mode 0) nil)
)
;; Adding the function to hook
(add-hook 'after-change-major-mode-hook 'remove-linum-mode-of-nav-buffer)
Original comment by alangalv...@gmail.com
on 25 Jul 2012 at 11:19
I had to use (global-linum-mode 1) to reproduce the bug. Checking the proposed
solution now.
Original comment by issac.tr...@gmail.com
on 26 Jul 2012 at 3:11
The proposed solution didn't work for me with emacs 23.3.1. I recommend setting
a hooks to enable line numbering for particular kinds of files instead of
turning it on globally. Closing the issue.
Original comment by issac.tr...@gmail.com
on 26 Jul 2012 at 3:34
Original issue reported on code.google.com by
alangalv...@gmail.com
on 25 Jul 2012 at 10:54