"Paul D. Nelson" <[email protected]> writes:

> How about:
>
> - (when (require 'buframe nil t) ...) in preview--update-buframe
>
> - A variable watcher that, when 'preview-at-point-placement' is changed
> to 'buframe, tries to require 'buframe and signals a user-error on
> failure.
>
> This would explain the problem without rewriting any user options.

(defun preview--update-buframe
    (if (and (eq preview-at-point-placement 'buframe)
             (not (locate-library "buframe")))
        (error "%s" "Couldn't find the buframe library")
      (require 'buframe)
      ...))

?

Best, Arash



_______________________________________________
bug-auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to