All of lore.kernel.org
 help / color / mirror / Atom feed
* emacs indenting howto
@ 2009-01-19 12:56 Dan Carpenter
  2009-01-21  5:16 ` Andi Kleen
  0 siblings, 1 reply; 4+ messages in thread
From: Dan Carpenter @ 2009-01-19 12:56 UTC (permalink / raw)
  To: linux-kernel; +Cc: hannes

I don't think emacs understands tilda expansion.  It didn't work for me.

regards,
dan carpenter

Signed-off-by: Dan Carpenter <error27@gmail.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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-01-21  9:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-19 12:56 emacs indenting howto Dan Carpenter
2009-01-21  5:16 ` Andi Kleen
2009-01-21  8:49   ` Dan Carpenter
2009-01-21  9:28     ` Andi Kleen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.