diff --git a/markdown-mode.el b/markdown-mode.el index 39c33976..6bcdf605 100644 --- a/markdown-mode.el +++ b/markdown-mode.el @@ -52,10 +52,10 @@ (declare-function project-roots "project") (declare-function sh-set-shell "sh-script") -(when (version< "29" emacs-version) - (declare-function mailcap-mime-type-to-extension "mailcap") - (declare-function file-name-with-extension "files") - (declare-function yank-media-handler "yank-media")) +;; for older emacs<29 +(declare-function mailcap-mime-type-to-extension "mailcap") +(declare-function file-name-with-extension "files") +(declare-function yank-media-handler "yank-media") ;;; Constants =================================================================