From ae1578e24a997f09590dff163813d71897ba90c8 Mon Sep 17 00:00:00 2001 From: Michal Nazarewicz Date: Wed, 20 May 2015 15:34:32 +0200 Subject: [PATCH] [emacs] Enable `describe-char-eldoc' if available The function shows description of Unicode characters in mode line if point remains at it for some time. --- emacs/init.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/emacs/init.el b/emacs/init.el index 59d6cc1..c190a08 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -983,6 +983,9 @@ modified beforehand." (setq compilation-auto-jump-to-first-error t) (setq line-move-visual nil) ;move by logical lines not screen lines +(when (fboundp 'describe-char-eldoc) + (setq-default eldoc-documentation-function #'describe-char-eldoc)) + ;; Saving etc (when (fboundp recentf-mode) (recentf-mode -1)) ;no recent files