auctex
[Top][All Lists]
Advanced

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

Re: Failed to skip from chapter tex file to master pdf file.


From: Tassilo Horn
Subject: Re: Failed to skip from chapter tex file to master pdf file.
Date: Mon, 12 Jul 2021 09:44:31 +0200
User-agent: mu4e 1.5.13; emacs 28.0.50

Hongyi Zhao <hongyi.zhao@gmail.com> writes:
>> (delq nil (mapcar (lambda (buf)
>>                     (with-current-buffer buf
>>                       (when (eq major-mode 'LaTeX-mode)
>>                         (cons (buffer-file-name buf)
>>                               (TeX-master-file "pdf")))))
>>                   (buffer-list)))
>> nil
>
> This is just out of the curiosity about the behavior of the `delq'
> built-in function used above. According to the built-in document:

(delq nil '(nil 1 nil)) ;=> (1)
(delq nil '(nil nil nil)) ;=> nil, aka, the empty list ()
(eq nil '()) ;=> t

HTH,
Tassilo



reply via email to

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