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:
parent
5b681bb566
commit
278e0a7357
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user