summary refs log tree commit diff
path: root/emacs/custom/my-eldoc.el
blob: ff3dc0c58812f6cda98d4dab4610e9f624730a81 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
;;; my-eldoc.el --- eldoc configuration -*- lexical-binding: t -*-
;; Author: Franck Cuny <franck@fcuny.net>

;;; Commentary:

;;; Code:

(setq eldoc-idle-delay 1
      eldoc-documentation-strategy #'eldoc-documentation-default
      eldoc-echo-area-prefer-doc-buffer 'maybe
      eldoc-echo-area-use-multiline-p nil)

(when (boundp eldoc-echo-area-display-truncation-message)
  (setq eldoc-echo-area-display-truncation-message nil))

(provide 'my-eldoc)

;;; my-eldoc.el ends here