Timeline for How to find out if variable is buffer-local?
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 9, 2015 at 14:37 | answer | added | Drew | timeline score: 2 | |
Mar 31, 2015 at 23:38 | comment | added | lawlist |
A particular major-mode and some minor-modes may set indent-tabs-mode , so setq-default is not a 100% guarantee that your buffer will have said default setting. Only if nothing else sets that variable differently when using a particular combination of major-mode and minor-modes would that default setting be respected. Thus, it may be necessary to use a major-mode hook to set the variable to your liking. Here is link to a recent example where the tab-width is set by a major mode to 4 and a major-mode hook is used to reset the value to 2 . emacs.stackexchange.com/a/10329/2287
|
|
Mar 31, 2015 at 21:56 | history | asked | djechlin | CC BY-SA 3.0 |