1 ;;; vs-set-c-style.el --- Visual Studio like C/C++ style for c-mode
2 ;; Use source/tool/emacs/vs-set-c-style.el .
3 ;; Please copy above to ~/.emacs.d/lisp/ or /usr/local/share/site-lisp etc.
4 ;; And put below threelines to ~/.emacs and uncomment. --- 20180228 K.Ohta
5 ;;; (autoload 'vs-set-c-style "vs-set-c-style")
6 ;;; (add-hook 'c-mode-hook 'vs-set-c-style)
7 ;;; (add-hook 'c++-mode-hook 'vs-set-c-style)
10 ;(autoload 'vs-set-c-style "vs-set-c-style")
11 ;(add-hook 'c-mode-hook 'vs-set-c-style)
12 ;(add-hook 'c++-mode-hook 'vs-set-c-style)
13 ;(add-hook 'c-mode-hook 'vs-set-c-style)
14 ;(add-hook 'c++-mode-hook 'vs-set-c-style)
16 (c-mode . ((c-style-file . "vs-set-c-ctyle" )
19 (c++-mode . ((c-style-file . "vs-set-c-style")