Skip to content

Commit

Permalink
[emacs] Enable `describe-char-eldoc' if available
Browse files Browse the repository at this point in the history
The function shows description of Unicode characters in mode line if
point remains at it for some time.
  • Loading branch information
mina86 committed May 20, 2015
1 parent 8b8c323 commit ae1578e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions emacs/init.el
Expand Up @@ -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
Expand Down

0 comments on commit ae1578e

Please sign in to comment.