Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
3
votes
1
answer
107
views
php-mode overwrites c-basic-offset customization, how can I set it to my preferred value?
By C-h v c-basic-offset I can clearly see: 2 is recognized as global customization but the buffer-local setting is 4. Obviously, php-mode is doing this.
How can I alter this behaviour? …
3
votes
php-mode overwrites c-basic-offset customization, how can I set it to my preferred value?
This code in .emacs did the job:
(add-hook 'php-mode-hook
(lambda ()
(make-local-variable 'c-basic-offset)
(setq c-basic-offset 2)))
I failed previously because I tried to cha …