chiark / gitweb /
el/dot-emacs.in (mdw-c-comment-fill-prefix): Fix it properly.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 27 May 2018 10:54:38 +0000 (11:54 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 30 May 2018 18:41:49 +0000 (19:41 +0100)
commita7474429d09af284bbceaa980f47bb400fe8275a
tree87e33ab314959be16df802ddac0a7d32076ba2fd
parenta894ae88f9bf8b8b7c4c0c6c17972c4bbe21874e
el/dot-emacs.in (mdw-c-comment-fill-prefix): Fix it properly.

Apparently this has had two bugs since my last attempt to fix it (commit
0e7d960b998e7c6dc781dc37cb703cdb32232a5f).

  * It had only one backslash before the `*', which does nothing; this
    only worked because -- luckily -- Emacs treats a `*' not in
    postfix-operator position literally.

  * There was a stray `]' at the end of the `//' pattern, which caused
    most attempts to match single-line comments to fail.

Oh, dear.
el/dot-emacs.el