From 15e3b2e28dccbb5a6d4337b657320df2636e1e2f Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Mon, 22 Jun 2020 11:41:12 +0100 Subject: [PATCH] el/dot-emacs.el (Man-getpage-in-background): Don't try to split atoms. In particular, the symbol `nil' isn't a string, so check for this specially. Conveniently, `nil' is exactly the right list. --- el/dot-emacs.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/el/dot-emacs.el b/el/dot-emacs.el index 5d47344..173537b 100644 --- a/el/dot-emacs.el +++ b/el/dot-emacs.el @@ -4537,7 +4537,8 @@ there is sadness." (around mdw-inhibit-noip (topic) compile activate) "Inhibit the `noip' preload hack when invoking `man'." (let* ((old-preload (getenv "LD_PRELOAD")) - (preloads (save-match-data (split-string old-preload ":"))) + (preloads (and old-preload + (save-match-data (split-string old-preload ":")))) (any nil) (filtered nil)) (save-match-data -- 2.11.0