[oni-diff-hl] Remove autoload cookie, load from ‘oni-core’
This commit is contained in:
parent
8ae902ac62
commit
1a84c02517
2 changed files with 4 additions and 7 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||||
;; Keywords: local
|
;; Keywords: local
|
||||||
;; Version: 2021.0920.202748
|
;; Version: 2021.0921.232841
|
||||||
;; Package-Requires: (oni-data-dir oni-embrace oni-hydra expand-region multiple-cursors gcmh diminish ws-butler which-key insert-char-preview dashboard mixed-pitch)
|
;; Package-Requires: (oni-data-dir oni-embrace oni-hydra expand-region multiple-cursors gcmh diminish ws-butler which-key insert-char-preview dashboard mixed-pitch)
|
||||||
|
|
||||||
;; This program is free software; you can redistribute it and/or modify
|
;; This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -265,6 +265,7 @@ _s_: String list"
|
||||||
(with-eval-after-load 'counsel (require 'oni-counsel))
|
(with-eval-after-load 'counsel (require 'oni-counsel))
|
||||||
(with-eval-after-load 'csharp-mode (require 'oni-csharp))
|
(with-eval-after-load 'csharp-mode (require 'oni-csharp))
|
||||||
(with-eval-after-load 'css-mode (require 'oni-css))
|
(with-eval-after-load 'css-mode (require 'oni-css))
|
||||||
|
(with-eval-after-load 'diff-hl (require 'oni-diff-hl))
|
||||||
(with-eval-after-load 'elfeed (require 'oni-elfeed))
|
(with-eval-after-load 'elfeed (require 'oni-elfeed))
|
||||||
(with-eval-after-load 'embrace (require 'oni-embrace))
|
(with-eval-after-load 'embrace (require 'oni-embrace))
|
||||||
(with-eval-after-load 'flycheck (require 'oni-flycheck))
|
(with-eval-after-load 'flycheck (require 'oni-flycheck))
|
||||||
|
@ -302,6 +303,7 @@ _s_: String list"
|
||||||
(which-key-mode)
|
(which-key-mode)
|
||||||
(auto-insert-mode)
|
(auto-insert-mode)
|
||||||
(counsel-mode)
|
(counsel-mode)
|
||||||
|
(global-diff-hl-mode)
|
||||||
|
|
||||||
(provide 'oni-core)
|
(provide 'oni-core)
|
||||||
;;; oni-core.el ends here
|
;;; oni-core.el ends here
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||||
;; Keywords: local
|
;; Keywords: local
|
||||||
;; Version: 2020.0228.154151
|
;; Version: 2021.0921.232803
|
||||||
;; Package-Requires: (diff-hl)
|
;; Package-Requires: (diff-hl)
|
||||||
|
|
||||||
;; This program is free software; you can redistribute it and/or modify
|
;; This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -39,10 +39,5 @@ ORIG-FUN is the function being wrapped, ARGS are the arguments specified"
|
||||||
(add-function :around (symbol-function 'diff-hl-changes-buffer)
|
(add-function :around (symbol-function 'diff-hl-changes-buffer)
|
||||||
#'oni:with-diff-hl-p4-args))
|
#'oni:with-diff-hl-p4-args))
|
||||||
|
|
||||||
;;;###autoload
|
|
||||||
(global-diff-hl-mode)
|
|
||||||
|
|
||||||
;;;###autoload(with-eval-after-load 'diff-hl (require 'oni-diff-hl))
|
|
||||||
|
|
||||||
(provide 'oni-diff-hl)
|
(provide 'oni-diff-hl)
|
||||||
;;; oni-diff-hl.el ends here
|
;;; oni-diff-hl.el ends here
|
||||||
|
|
Loading…
Reference in a new issue