Commit c02bd5e8 authored by Duncan Bayne's avatar Duncan Bayne

Move disable-linum-mode to utils

parent 5209d9d1
......@@ -194,3 +194,7 @@
(interactive "r\nsAlign char: ")
(align-regexp start end
(concat "\\(\\s-*\\)" char) 1 1 nil))
(defun utils/disable-linum-mode ()
"Disable linum mode."
(linum-mode 0))
......@@ -12,10 +12,8 @@
(add-to-list 'erc-sasl-server-regexp-list ".*")
(defun disable-linum-mode ()
(linum-mode 0))
(add-hook 'term-mode-hook 'disable-linum-mode)
(add-hook 'jabber-chat-mode-hook 'disable-linum-mode)
(add-hook 'term-mode-hook 'utils/disable-linum-mode)
(add-hook 'jabber-chat-mode-hook 'utils/disable-linum-mode)
(defun hipchat-join (room)
(interactive "sRoom name: ")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment