[emacs] silence ediff-after-quit-hook-internal related warning
[~bandali/configs] / init.org
index 4c6b9cb..14941a2 100644 (file)
--- a/init.org
+++ b/init.org
@@ -1079,7 +1079,7 @@ TODO: break this giant source block down into individual org sections.
   ;; https://oremacs.com/2017/03/18/dired-ediff/
   (defun dired-ediff-files ()
     (interactive)
-    (require 'ediff)
+    (defvar ediff-after-quit-hook-internal)
     (let ((files (dired-get-marked-files))
           (wnd (current-window-configuration)))
       (if (<= (length files) 2)