branch: master
commit cb707b230841388d87bd87c9a36e5eba07618d78
Author: Mitchel Humpherys <[email protected]>
Commit: Mitchel Humpherys <[email protected]>
Fix some warnings from flycheck-package.el
---
diffview.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/diffview.el b/diffview.el
index 6d3ab63..4657459 100644
--- a/diffview.el
+++ b/diffview.el
@@ -48,8 +48,9 @@
;; After:<br>
;; <img
src="https://raw.github.com/mgalgs/diffview-mode/master/screenshots/diffview-after.png"><br>
;;
-;;; Code
+;;; Code:
+(require 'message)
(defun diffview/print-all-lines-to-buffer (lines buffer-name)
"Prints each line in `LINES' to a buffer named `BUFFER-NAME'
@@ -176,6 +177,7 @@ side-by-side view"
;;; diffview-mode ;;;
+;;;###autoload
(define-derived-mode diffview-mode special-mode "Diffview"
"Mode for viewing diffs side-by-side"
(setq font-lock-defaults '(diff-font-lock-keywords t nil nil nil
(font-lock-multiline . nil))))