aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorIvan Shmakov2018-03-23 03:24:17 +0000
committerNoam Postavsky2018-04-26 07:37:48 -0400
commit66dbb787a22d4ae1d513a3ee27e22eed395f5676 (patch)
tree60282d2b3105f445502117ade7af5a664b8dfc10 /lib-src
parentb8aa7ecf54c9b164a59f1b0e9f9fe90531dadd20 (diff)
downloademacs-66dbb787a22d4ae1d513a3ee27e22eed395f5676.tar.gz
emacs-66dbb787a22d4ae1d513a3ee27e22eed395f5676.zip
Ensure woman2-roff-buffer restores functions on error (Bug#30908)
* lisp/woman.el (woman2-roff-buffer): Put the fallback paragraph processing inside the protected part of the unwind-protect form, rather than the cleanup forms. Attempting to format paragraphs again after an error has been signaled is unlikely to be helpful. The fallback processing should be triggered only in case the loop terminated normally, but did not reach the end of the buffer for some reason.
Diffstat (limited to 'lib-src')
0 files changed, 0 insertions, 0 deletions