Replaced eval-after-load => with-eval-after-load for its easier syntax.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sun, 01 Nov 2020 15:05:04 +0200
changeset 1632 9189d278b075
parent 1631 f6eae5ebf7d9
child 1633 d31f7473a4b1
Replaced eval-after-load => with-eval-after-load for its easier syntax.
.emacs-my
--- a/.emacs-my	Sun Nov 01 14:26:50 2020 +0200
+++ b/.emacs-my	Sun Nov 01 15:05:04 2020 +0200
@@ -1775,7 +1775,7 @@
 (setq woman-use-own-frame nil)
 (setq woman-fill-frame t)
 
-(eval-after-load 'man
+(with-eval-after-load 'man
   ;; Default sed filter failed with syntax error in native Emacs and Cygwin.
   (when (eq system-type 'windows-nt)
     (setq Man-filter-list nil)))
@@ -2662,8 +2662,8 @@
   )
 (add-hook 'log-edit-mode-hook 'my-log-edit-mode-hook t)
 
-(eval-after-load 'log-edit
-  '(remove-hook 'log-edit-hook 'log-edit-insert-message-template))
+(with-eval-after-load 'log-edit
+  (remove-hook 'log-edit-hook 'log-edit-insert-message-template))
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 (message "magit")