diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2021-01-10 15:00:55 +0100 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2021-01-13 07:23:11 -0400 |
| commit | 3f16dd76118e72d7451bf3276092681b7ea946b0 (patch) | |
| tree | 1cbaf4cd0d3f746d5100eb716aaf37b937d3bd7e | |
| parent | b4deb33a66d6781fb6e516053efe67c60e934b63 (diff) | |
emacs: notmuch-wash.el: require diff-mode at beginning of code
That's what we usually do. Also do not declare variable
`diff-file-header-re' because it is defined in `diff-mode.el',
which we always require.
| -rw-r--r-- | emacs/notmuch-wash.el | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/emacs/notmuch-wash.el b/emacs/notmuch-wash.el index d613e04c..653ecc2a 100644 --- a/emacs/notmuch-wash.el +++ b/emacs/notmuch-wash.el @@ -24,6 +24,7 @@ ;;; Code: (require 'coolj) +(require 'diff-mode) (require 'notmuch-lib) (declare-function notmuch-show-insert-bodypart "notmuch-show" @@ -341,10 +342,6 @@ the wrapped text are maintained." ;;;; Convert Inline Patches -(require 'diff-mode) - -(defvar diff-file-header-re) ; From `diff-mode.el'. - (defun notmuch-wash-subject-to-filename (subject &optional maxlen) "Convert a mail SUBJECT into a filename. |
