 Else this value is either 'nlinum, 'linum or 'linum-relative.
 
 This variable is for internal use only, not to be set by user.")
+
+(defvar modi/linum-mode-enable-global nil
+  "Variable to enable a linum mode globally or selectively based on major modes.")
 
 (defvar modi/linum-mode-hooks '(verilog-mode-hook
                                 emacs-lisp-mode-hook

    (defun modi/turn-on-linum ()
      "Turn on linum mode in specific modes."
      (interactive)
      (dolist (hook modi/linum-mode-hooks)
        (add-hook hook #'linum-mode)))

    (defun modi/turn-off-linum ()
      "Unhook linum mode from various major modes."
      (interactive)
      (dolist (hook modi/linum-mode-hooks)
        (remove-hook hook #'linum-mode)))))


;; Time-stamp: <2015-03-20 16:27:59 kmodi>

;; Line number package manager

