summaryrefslogtreecommitdiff
path: root/.dir-locals.el
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2014-11-05 12:56:49 +0100
committerDavid Herrmann <dh.herrmann@gmail.com>2014-11-05 12:58:10 +0100
commitcfe2061add5479710f6597899d632e64c54e62ef (patch)
tree91121679dff012d525f8cdbfce0d5570787bb406 /.dir-locals.el
parentf671774f52838d35d78e62ddcb781b5b65b3373f (diff)
udev: avoid magic constants in kernel-cmdline parsers
Lets recognize the fact that startswith() returns a pointer to the tail on success. Use it instead of hard-coding string-lengths as magic constants.
Diffstat (limited to '.dir-locals.el')
0 files changed, 0 insertions, 0 deletions