|
From: | Stefan Monnier |
Subject: | bug#3865: Patch for #3865: Would somebody please commit on HEAD and branch? |
Date: | Sun, 19 Jul 2009 01:34:46 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux) |
> + (if (and (executable-find doc-view-pdftotext-program) > + (yes-or-no-p "Cannot render file. View extracted text instead? ")) > + (doc-view-open-text) > + (doc-view-toggle-display)))) Please avoid modal UIs wherever possible. E.g. rather than ask with yes-or-no-p, just choose one of the two branches (maybe based on a config var) and output a message explaining how to get the other branch. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |