emacs-devel
[Top][All Lists]
Advanced

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

Re: master 14b5ba7c61f: bibtex-string-file-path and bibtex-file-path are


From: Michael Heerdegen
Subject: Re: master 14b5ba7c61f: bibtex-string-file-path and bibtex-file-path are lists of directories
Date: Mon, 13 Jan 2025 01:06:40 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Roland Winkler <winkler@gnu.org> writes:

> +(defcustom bibtex-string-file-path (split-string (getenv "BIBINPUTS") ":+" t)
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Will this not raise an error if `getenv' returns nil?

| Debugger entered--Lisp error: (wrong-type-argument stringp nil)
|   (string-match ":+" nil 0)
|   (split-string nil ":+" t)
|   (#f(compiled-function () #<bytecode 0xce57f5a3da91999>))
|   (funcall #f(compiled-function () #<bytecode 0xce57f5a3da91999>))
|   (eval (funcall #'#f(compiled-function () #<bytecode 0xce57f5a3da91999>)))
|   (custom-initialize-reset bibtex-string-file-path ...)
|   (custom-declare-variable bibtex-string-file-path ...)
|   (byte-code ...)
|   (require bibtex)


TIA,

Michael.



reply via email to

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