diff options
| -rw-r--r-- | Documentation/CodingStyle | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/CodingStyle b/Documentation/CodingStyle index 7b5762eded2c..72968cd5eaf3 100644 --- a/Documentation/CodingStyle +++ b/Documentation/CodingStyle | |||
| @@ -498,7 +498,8 @@ values. To do the latter, you can stick the following in your .emacs file: | |||
| 498 | (let ((filename (buffer-file-name))) | 498 | (let ((filename (buffer-file-name))) |
| 499 | ;; Enable kernel mode for the appropriate files | 499 | ;; Enable kernel mode for the appropriate files |
| 500 | (when (and filename | 500 | (when (and filename |
| 501 | (string-match "~/src/linux-trees" filename)) | 501 | (string-match (expand-file-name "~/src/linux-trees") |
| 502 | filename)) | ||
| 502 | (setq indent-tabs-mode t) | 503 | (setq indent-tabs-mode t) |
| 503 | (c-set-style "linux-tabs-only"))))) | 504 | (c-set-style "linux-tabs-only"))))) |
| 504 | 505 | ||
