Hi Arash, >>>>> Arash Esbati <ar...@gnu.org> writes: > thanks for looking at this. I have one question: Would it make sense to > move the (executable-find "texdoc") further up in the function body?
Yes, I think that it would make sense well. I honored the following comment in the former half of the defun, but it doesn't seem much important for me actually. ,---- | ;; Note: `shell-command-to-string' uses shell, only | ;; `call-process' looks at `exec-path', thus only here makes | ;; sense to use `executable-find' to test whether texdoc is | ;; available. `---- Thus I'm fine to follow your suggestion. Regards, Ikumi Keita #StandWithUkraine #StopWarInUkraine