bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#27833: 25.2; Add support for manpath command to woman.el


From: Reuben Thomas
Subject: bug#27833: 25.2; Add support for manpath command to woman.el
Date: Wed, 26 Jul 2017 09:43:22 +0100

On 26 July 2017 at 00:40, Mark Oteiza <mvoteiza@udel.edu> wrote:

Reuben Thomas <rrt@sc3d.org> writes:
> +       (woman-parse-colon-path (condition-case nil
> +                                   (chomp (with-output-to-string
> +                                            (with-current-buffer
> +                                                standard-output
> +                                              (call-process "manpath" nil t nil))))
> +                                 (error nil))))
> +      (woman-manpath-add-locales

I suspect your chomp is analogous to string-trim-right in subr-x.el

​Thanks! I'd had chomp in my Emacs init for so long I had forgotten it wasn't part of Emacs, and didn't know about string-trim-right. Updated patch attached (and that function purged from my init, and my personal uses of it replaced by string-trim-right).

--

Attachment: 0001-Try-to-set-woman-manpath-from-output-of-manpath-comm.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]