X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;ds=sidebyside;f=emacstips.mdwn;h=a2c0b24c333a035e846f236cb7ec0183311e635a;hb=5fb01aa73c6e73e3e8ae33f2388f39a861c13d8e;hp=2cc8aac748e2851ae364743567518cabacacfa49;hpb=3b430fc8fb45f08ad64e5efc4613e0346f76e0f7;p=notmuch-wiki diff --git a/emacstips.mdwn b/emacstips.mdwn index 2cc8aac..a2c0b24 100644 --- a/emacstips.mdwn +++ b/emacstips.mdwn @@ -584,7 +584,7 @@ buffer. Mailman mailing list software rewrites and rewraps long message subjects in a way that causes TABs to appear in the middle of the subject and header -lines. Add this to your .emacs to replace tabs with spaces in subject +lines. Add this to your `.emacs` to replace tabs with spaces in subject lines: (defun notmuch-show-subject-tabs-to-spaces () @@ -602,7 +602,7 @@ notmuch version 0.15): (defun notmuch-show-header-tabs-to-spaces () "Replace tabs with spaces in header line." (setq header-line-format - (notmuch-show-strip-re - (replace-regexp-in-string "\t" " " (notmuch-show-get-subject))))) + (notmuch-show-strip-re + (replace-regexp-in-string "\t" " " (notmuch-show-get-subject))))) (add-hook 'notmuch-show-hook 'notmuch-show-header-tabs-to-spaces)