Skip to content

Commit

Permalink
Add .dir-locals.el file for better Emacs defaults
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=72483

Patch by Andy Wingo <wingo@igalia.com> on 2011-11-21
Reviewed by Xan Lopez.

* .dir-locals.el: Set appropriate directory-local variables for Emacs.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100902 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
commit-queue@webkit.org committed Nov 21, 2011
1 parent 20ecf6a commit 7ac30ac
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .dir-locals.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
;; Per-directory local variables for GNU Emacs 23 and later.

;; Syntax: ((MODE (VAR . VAL) ...) ...)
;; MODE is a symbol like `c-mode', or `nil' for all modes.
((nil
(indent-tabs-mode . nil)
(c-basic-offset . 4))
(c-mode
(indent-tabs-mode . nil)
(c-basic-offset . 4))
(c++-mode
(indent-tabs-mode . nil)
(c-basic-offset . 4))
(change-log-mode
(indent-tabs-mode . nil)))
9 changes: 9 additions & 0 deletions Source/JavaScriptCore/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
2011-11-21 Andy Wingo <wingo@igalia.com>

Add .dir-locals.el file for better Emacs defaults
https://bugs.webkit.org/show_bug.cgi?id=72483

Reviewed by Xan Lopez.

* .dir-locals.el: Set appropriate directory-local variables for Emacs.

2011-11-21 Filip Pizlo <fpizlo@apple.com>

Another attempt at a build fix.
Expand Down

0 comments on commit 7ac30ac

Please sign in to comment.