> The result of reftex-TeX-master-file is passed to file-truename, so it
> can be "<none>.tex" but not nil.  Modifying your patch as follows seems
> to do the trick.
>
> Thanks, best,
> Paul
>
>
> @@ -389,7 +396,9 @@ reftex-TeX-master-file
>       (t
>        ;; Use buffer file name.
>        (setq master (buffer-file-name))))
> -    (expand-file-name master)))
> +    (if reftex--suppress-nonfile-error
> +        "<none>.tex"
> +      (expand-file-name master))))

I think TRT would be to return the buffer when in a non-file buffer and
then to adjust callers accordingly.


        Stefan




_______________________________________________
bug-auctex mailing list
bug-auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-auctex
  • bug#76615:... Paul D. Nelson
  • bug#76615:... Ikumi Keita
    • bug#7... Paul D. Nelson
      • b... Ikumi Keita
        • ... Paul D. Nelson
          • ... Ikumi Keita
            • ... Paul D. Nelson
            • ... Ikumi Keita
            • ... Paul D. Nelson
            • ... Stefan Monnier via bug-auctex via Bug reporting list for AUCTeX
            • ... Paul D. Nelson
            • ... Stefan Monnier via bug-auctex via Bug reporting list for AUCTeX
            • ... Paul D. Nelson
            • ... Ikumi Keita
            • ... Stefan Monnier via bug-auctex via Bug reporting list for AUCTeX
            • ... Paul D. Nelson
            • ... Arash Esbati
            • ... Arash Esbati
            • ... Paul D. Nelson
            • ... Arash Esbati

Reply via email to