New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
@Andersbakken
Contributor

Andersbakken commented Dec 21, 2015

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

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.

@bagder bagder closed this in 04cb909 Dec 23, 2015

@bagder

This comment has been minimized.

Show comment
Hide comment
@bagder

bagder Dec 23, 2015

Member

Thanks! (slightly amended by me)

Member

bagder commented Dec 23, 2015

Thanks! (slightly amended by me)

@Andersbakken

This comment has been minimized.

Show comment
Hide comment
@Andersbakken

Andersbakken Dec 23, 2015

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).

Contributor

Andersbakken commented Dec 23, 2015

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