#717289 a2ps: a2ps.el a2ps-check-buffer save

Package:
a2ps
Source:
a2ps
Description:
GNU a2ps - 'Anything to PostScript' converter and pretty-printer
Submitter:
Kevin Ryde
Date:
2014-06-30 22:11:15 UTC
Severity:
wishlist
#717289#5
Date:
2013-07-18 22:16:00 UTC
From:
To:
It'd be good if `a2ps-check-buffer' saved the buffer before running the
check on the file.  I like a blob with `save-some-buffers' so that it
prompts you that it's going to save.

  (let ((a2ps-check-buffer--target (current-buffer)))
    (save-some-buffers nil (lambda ()
                             (equal (current-buffer)
                                    a2ps-check-buffer--target))))