Skip to content

Instantly share code, notes, and snippets.

Du Yanning duyanning

Block or report user

Report or block duyanning

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
duyanning / gist:4103243
Created Nov 18, 2012 — forked from nschum/gist:2626303
better "enum class" indent in Emacs
View gist:4103243
;; This hack fixes indentation for C++11's "enum class" in Emacs.
;; You should change default style from gnu to stroustrup in you .emacs
;; (setq c-default-style
;; '((c++-mode . "stroustrup")
;; (java-mode . "java")
;; (awk-mode . "awk")
;; (other . "gnu")))
You can’t perform that action at this time.