[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.0901191521270.2904@bikeee>
Date: Mon, 19 Jan 2009 15:56:21 +0300 (EAT)
From: Dan Carpenter <error27@...il.com>
To: linux-kernel@...r.kernel.org
cc: hannes@...urebad.de
Subject: emacs indenting howto
I don't think emacs understands tilda expansion. It didn't work for me.
regards,
dan carpenter
Signed-off-by: Dan Carpenter <error27@...il.com>
--- orig/Documentation/CodingStyle 2009-01-16 17:46:16.000000000 +0300
+++ devel/Documentation/CodingStyle 2009-01-16 17:48:13.000000000 +0300
@@ -488,7 +488,7 @@
(let ((filename (buffer-file-name)))
;; Enable kernel mode for the appropriate files
(when (and filename
- (string-match "~/src/linux-trees" filename))
+ (string-match "/path/to/linux-trees" filename))
(setq indent-tabs-mode t)
(c-set-style "linux")
(c-set-offset 'arglist-cont-nonempty
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists