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

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

bug#25468: 26.0.50; Can't load htmlfontify if shell binary doesn't exist


From: Philipp Stephani
Subject: bug#25468: 26.0.50; Can't load htmlfontify if shell binary doesn't exist
Date: Tue, 17 Jan 2017 17:27:27 +0000



Philipp Stephani <address@hidden> schrieb am Di., 17. Jan. 2017 um 15:21 Uhr:

$ SHELL=/doesnotexist src/emacs -Q -batch -l htmlfontify ; echo $?
Searching for program: No such file or directory, /doesnotexist
255

This is of course a rather rare edge case, but I think that
unavailability of a shell shouldn't prevent htmlfontify from loading.
The shell is only used to initialize hfy-etags-cmd, this variable could
simply be initialized to nil if no shell is found, similar to when no
etags binary is found.

I've attached a patch. 

Attachment: 0001-Don-t-error-when-loading-htmlfontify-without-shell.txt
Description: Text document


reply via email to

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