diff options
Diffstat (limited to 'Emacs/.config')
-rw-r--r-- | Emacs/.config/emacs/config.org | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 31c22fe..d011fbb 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -2342,7 +2342,7 @@ opposing style. ("return" . "⟼")) :init (setq-default c-basic-offset 2) - (setq-default c-auto-newline t) + (setq-default c-auto-newline nil) (setq-default c-default-style '((other . "user"))) (with-eval-after-load "autoinsert" @@ -2350,22 +2350,20 @@ opposing style. '("\\.c\\'" . "C skeleton") '("" "/* " (file-name-nondirectory (buffer-file-name (current-buffer))) "\n" - " * Date: " (format-time-string "%Y-%m-%d") "\n" + " * Created: " (format-time-string "%Y-%m-%d") "\n" " * Author: " user-full-name "\n" " */\n" "\n" - "\n" _)) (define-auto-insert '("\\.cpp\\'" . "C++ skeleton") '("" "/* " (file-name-nondirectory (buffer-file-name (current-buffer))) "\n" - " * Date: " (format-time-string "%Y-%m-%d") "\n" + " * Created: " (format-time-string "%Y-%m-%d") "\n" " * Author: " user-full-name "\n" " */\n" "\n" - "\n" _))) :config (c-add-style |