Skip to content

Instantly share code, notes, and snippets.

@hellekin
Created November 4, 2010 15:55
Show Gist options
  • Save hellekin/662685 to your computer and use it in GitHub Desktop.
Save hellekin/662685 to your computer and use it in GitHub Desktop.
Setup Emacs for Elgg Coding Standard (and save a headache)
(defun php-mode-elgg-hook ()
(setq indent-tabs-mode t
tab-width 4
c-basic-offset 4
c-insert-tab-function 'insert-tab)
)
(add-hook 'php-mode-hook 'php-mode-elgg-hook)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment