equal
deleted
inserted
replaced
2460 (switch-to-buffer new-buffer) |
2460 (switch-to-buffer new-buffer) |
2461 (shell-command-on-region (point-min) (point-max) "sort -u" nil t) |
2461 (shell-command-on-region (point-min) (point-max) "sort -u" nil t) |
2462 )) |
2462 )) |
2463 |
2463 |
2464 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
2464 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
2465 (message "C, c-mode, C++, c++-mode") |
2465 (message "c-mode, cc-mode, c++-mode") |
2466 |
2466 |
2467 ;; Minor mode that highlights suspicious C and C++ constructions. |
2467 ;; Minor mode that highlights suspicious C and C++ constructions. |
2468 (cwarn-mode 1) |
2468 (global-cwarn-mode 1) |
2469 |
2469 |
2470 (setq c-echo-syntactic-information-p t) |
2470 (setq c-echo-syntactic-information-p t) |
2471 |
2471 |
2472 (defun my-c-mode-common-hook () |
2472 (defun my-c-mode-common-hook () |
2473 ;; Automatically inserte newlines after special characters such as brace, comma, semi-colon, and colon. |
2473 ;; Automatically inserte newlines after special characters such as brace, comma, semi-colon, and colon. |