equal
deleted
inserted
replaced
1825 ;; Automatically inserte newlines after special characters such as brace, comma, semi-colon, and colon. |
1825 ;; Automatically inserte newlines after special characters such as brace, comma, semi-colon, and colon. |
1826 (c-toggle-auto-newline 1) |
1826 (c-toggle-auto-newline 1) |
1827 ;; Delete all preceding whitespace by DEL. |
1827 ;; Delete all preceding whitespace by DEL. |
1828 (c-toggle-hungry-state -1) |
1828 (c-toggle-hungry-state -1) |
1829 ;; Auto indent after typing colon according to `c-hanging-colons-alist'. |
1829 ;; Auto indent after typing colon according to `c-hanging-colons-alist'. |
1830 (c-toggle-electric-state 1) |
1830 (c-toggle-electric-state -1) |
1831 ) |
1831 ) |
1832 (add-hook 'c-mode-common-hook 'my-c-mode-common-hook) |
1832 (add-hook 'c-mode-common-hook 'my-c-mode-common-hook) |
1833 |
1833 |
1834 (defconst my-c-style |
1834 (defconst my-c-style |
1835 '((c-tab-always-indent . t) |
1835 '((c-tab-always-indent . t) |