Add .dir-locals and set c-basic-offset to 2. #574

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@Andersbakken
Contributor

This makes it easier for emacs users to automatically get the right
2-space indentation when they edit curl source files.

@Andersbakken Andersbakken Add .dir-locals and set c-basic-offset to 2.
This makes it easier for emacs users to automatically get the right
2-space indentation when they edit curl source files.

c++-mode is in there as well because Emacs can't easily know if
something is a C or C++ header.
2b0bd13
@bagder bagder added a commit that closed this pull request Dec 23, 2015
@Andersbakken @bagder Andersbakken + bagder Add .dir-locals and set c-basic-offset to 2.
This makes it easier for emacs users to automatically get the right
2-space indentation when they edit curl source files.

c++-mode is in there as well because Emacs can't easily know if
something is a C or C++ header.

Closes #574
04cb909
@bagder bagder closed this in 04cb909 Dec 23, 2015
@bagder
Member
bagder commented Dec 23, 2015

Thanks! (slightly amended by me)

@Andersbakken
Contributor

Thanks.

On Wed, Dec 23, 2015 at 1:17 AM, Daniel Stenberg notifications@github.com
wrote:

Thanks! (slightly amended by me)


Reply to this email directly or view it on GitHub
#574 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment