lkml.org 
[lkml]   [2009]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subjectemacs 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@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

    \
     
     \ /
      Last update: 2009-01-19 13:59    [W:0.021 / U:0.496 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site