diff --git a/eldoc-box.el b/eldoc-box.el index 8cdb2a6..3105f44 100644 --- a/eldoc-box.el +++ b/eldoc-box.el @@ -65,8 +65,10 @@ ;;; Code: -(require 'cl-lib) -(require 'seq) +(eval-when-compile + (require 'cl-lib) + (require 'pcase) + (require 'seq)) ;;;; Userland ;;;;; Variable @@ -164,7 +166,7 @@ It will be passes with two arguments: WIDTH and HEIGHT of the childframe.") (defvar eldoc-box-buffer-hook '(eldoc-box--prettify-markdown-separator eldoc-box--replace-en-space eldoc-box--remove-linked-images - eldoc-box--fontify-html-header + eldoc-box--fontify-html eldoc-box--condense-large-newline-gaps) "Hook run after buffer for doc is setup. Run inside the new buffer. By default, it contains some Markdown @@ -664,9 +666,10 @@ height." nil t) (replace-match "")))) -(defun eldoc-box--fontify-html-header () - "Fontify