mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
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.
This commit is contained in:
parent
b4deb33a66
commit
3f16dd7611
1 changed files with 1 additions and 4 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue