From b7caee9eb65fb8b622241d2aa9b53ff6adb1dc97 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 18 Jun 2019 21:56:04 -0700 Subject: [PATCH] Properly autoload oni-hl-diff The library wouldn't load properly, so my fix for using it with Perforce didn't turn on. --- oni-diff-hl.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/oni-diff-hl.el b/oni-diff-hl.el index 9020c8a..45914d2 100644 --- a/oni-diff-hl.el +++ b/oni-diff-hl.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 20190219004948 +;; Version: 20190618215248 ;; Package-Requires: (diff-hl) ;; This program is free software; you can redistribute it and/or modify @@ -40,5 +40,7 @@ ORIG-FUN is the function being wrapped, ARGS are the arguments specified" ;;;###autoload (global-diff-hl-mode) +;;;###autoload(with-eval-after-load ’diff-hl (require ’oni-diff-hl)) + (provide 'oni-diff-hl) ;;; oni-diff-hl.el ends here