From 4dd3f63cc87369a08312f37477b29efcbfd74342 Mon Sep 17 00:00:00 2001 From: tastytea Date: Mon, 14 Oct 2019 00:39:17 +0200 Subject: [PATCH] Re-add man to emacs. WoMan cannot display tables. --- init.el | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/init.el b/init.el index 3bf4aa3..d93a47a 100644 --- a/init.el +++ b/init.el @@ -1,5 +1,5 @@ ;;; init.el --- tastytea's Emacs init file. -;; Time-stamp: <2019-10-13T10:24:23+00:00> +;; Time-stamp: <2019-10-13T22:38:56+00:00> ;;; Commentary: ;; Requires at least Emacs 26. Most of it will probably work with Emacs 24 and @@ -616,6 +616,17 @@ With argument, do this that many times." ;;;;;;;;;;;;;;;;;;;; Misc ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Manual pages. +(use-package man + :defer t + :custom + (Man-width fill-column) + :custom-face + (Man-overstrike ((t (:inherit font-lock-type-face :bold t)))) + (Man-underline ((t (:inherit font-lock-keyword-face :underline t)))) + :bind + ("" . man) + ) + (use-package woman :custom (woman-fill-frame t) @@ -630,8 +641,7 @@ With argument, do this that many times." ;; Open manpages in new window. (setq display-buffer-alist '(("\\`\\*WoMan" display-buffer-pop-up-window))) :bind - ("" . my/woman-topic-at-point) - ("C-" . woman) + ("C-" . my/woman-topic-at-point) ) ;; Show directory tree in a window.