On 2026-02-16 11:14:50 +0100, Jerome BENOIT wrote:
> Here the patched code that I think is faulty:
> 
> -(defun load-info-hashtables (dir-name deffn-defvr-pairs section-pairs)
> +(defun load-info-hashtables (dir-name deffn-defvr-pairs section-pairs
> +                          ;; In Debian, lsp index file must be in different 
> directory from info files
> +                          &aux (dir-name
> +                                (or (when (equal (pathname (concatenate 
> 'string maxima::*maxima-index-dir* "/"))
> +                                                 dir-name)
> +                                      (maxima::combine-path 
> maxima::*maxima-infodir* ""))
> +                                    dir-name)))

I would say that before using (comparing) file names, it should
canonicalize them with file-truename:

  https://www.gnu.org/software/emacs/manual/html_node/elisp/Truenames.html

-- 
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)

Reply via email to