Skip to content

eldoc support is not working out of the box with Emacs master (28.1) #2816

@ak-coram

Description

@ak-coram

When trying to enable eldoc-mode in a Clojure buffer I get the following message: There is no ElDoc support in this buffer. The following workaround works for me:

(add-hook 'eldoc-documentation-functions #'cider-eldoc nil t)

These changes in Emacs might be relevant (from the NEWS file):

New hook eldoc-documentation-functions to be used for registering doc string functions. This takes the results of all doc string functions accessible to the user through the existing single function hook eldoc-documentation-function.

eldoc-documentation-function is now a custom variable. Modes should use the new hook instead of this variable to register their backends.

Environment & Version information

CIDER version information

;; CIDER 0.25.0snapshot (package: 20200227.1414), nREPL 0.6.0
;; Clojure 1.10.1, Java 13.0.2

Emacs version

GNU Emacs 28.0.50 (build 1, x86_64-unknown-freebsd12.1, Motif Version 2.3.8, cairo version 1.16.0) of 2020-03-03 (8518b14a76ba7531a71df97994fe8a197a429d4a)

Operating system

FreeBSD 12.1-RELEASE-p2 GENERIC amd64

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions