Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: c6b4af8120
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (22 sloc) 0.636 kb
(defun large-font ()
(interactive)
(set-face-font
'default
"-apple-DejaVu_Sans_Mono-medium-normal-normal-*-20-*-*-*-m-0-iso10646-"))
(defun close-buffer ()
(interactive)
(kill-buffer (current-buffer)))
(defun esk-tabify-buffer ()
(interactive)
(tabify (point-min) (point-max)))
(defun esk-cleanup-on-save ()
(add-hook 'before-save-hook 'esk-cleanup-buffer))
(defun esk-cleanup-buffer ()
(interactive)
(if indent-tabs-mode
(esk-tabify-buffer)
(esk-untabify-buffer))
(delete-trailing-whitespace))
(defun esk-ident-on-return ()
(local-set-key (kbd "RET") 'newline-and-indent))
(provide 'defuns)
Jump to Line
Something went wrong with that request. Please try again.