diff --git a/init.el b/init.el index 2b7ef5e..3272236 100644 --- a/init.el +++ b/init.el @@ -1,5 +1,5 @@ ;;; init.el --- tastytea's Emacs init file. -;; Time-stamp: <2019-09-30T04:59:37+00:00> +;; Time-stamp: <2019-09-30T06:00:30+00:00> ;;; Commentary: ;; Requires at least Emacs 24.3. @@ -434,9 +434,15 @@ With argument, do this that many times." (use-package cc-mode :ensure nil ; Included in Emacs. :config - (c-add-style "tastytea" - '("bsd" - (c-basic-offset . 4))) + (c-add-style + "tastytea" + '("bsd" + (c-basic-offset . 4) + (c-offsets-alist . ((innamespace . [0]))))) ; Don't indent in namespaces. + (c-add-style + "tastytea-legacy" ; For old code. + '("bsd" + (c-basic-offset . 4))) :custom (c-default-style "tastytea"))