Why might my Emacs use spaces instead of tabs?

前端 未结 5 1964
情深已故
情深已故 2020-12-11 11:20

I am trying to diagnose this problem. TAB creates 4 spaces instead of a 4 col TAB like I want. But I don\'t think it should because C-h v indent-tabs-mode on th

5条回答
  •  遥遥无期
    2020-12-11 12:10

    Be sure to take a look at the first line of the file as well. If you see something like // -- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -- This line will override any global or mode settings.

提交回复
热议问题