1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00

(ps-generate): Bind inhibit-read-only.

This commit is contained in:
Richard M. Stallman 1996-02-28 18:51:36 +00:00
parent 5b681bb566
commit 278e0a7357

View File

@ -1805,7 +1805,10 @@ EndDSCPage\n"))
(defun ps-generate (buffer from to genfunc)
(let ((from (min to from))
(to (max to from)))
(to (max to from))
;; This avoids trouble if chars with read-only properties
;; are copied into ps-spool-buffer.
(inhibit-read-only t))
(save-restriction
(narrow-to-region from to)
(if ps-razzle-dazzle