rejeep / f.el

Modern API for working with files and directories in Emacs
GNU General Public License v3.0
680 stars 68 forks source link

[Bug]: Doesn't load `shortdoc` with Emacs 29, causing `(void-function define-short-documentation-group)` on startup with doom-emacs #121

Closed Ruin0x11 closed 1 year ago

Ruin0x11 commented 1 year ago

Expected behavior

The library should load correctly.

Actual behavior

When I start doom-emacs I get this error:

Error (doom-after-init-hook): Error running hook "doom-modeline-mode" because: (void-function define-short-documentation-group)

I think it's because the shortdoc library isn't required automatically with my Emacs. If I (load-library 'shortdoc) by hand then define-short-documentation-group is defined correctly.

f.el version

0.20.0

Emacs version

something else (please specify)

Relevant code or log output

(when (version<= "28.1" emacs-version)
  (when (< emacs-major-version 29)
    (require 'shortdoc))
GNU Emacs 29.0.50 (build 1, x86_64-w64-mingw32) of 2022-04-02
Phundrak commented 1 year ago

Duplicate of #120. Your Emacs version is outdated, the latest version for Emacs 29 is 29.0.60, please update it.