How to set tab in Emacs?
When i was writing C language, it just indented 2 spaces. When i was writing Java language, 4 spaces were indented. Why? How to set tab in Emacs? like VIM.
|
you set the c style in emacs in the ~/.emacs file
Code:
(add-hook 'c-mode-hook to see the available options in order to alter one of these styles to suit your taste i think you will have to hack at cc-mode.el and change some of the variables in c-style-alist or just write a new style |
Quote:
|
All times are GMT -5. The time now is 10:46 PM. |