mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(ps-generate): Bind inhibit-read-only.
This commit is contained in:
parent
5b681bb566
commit
278e0a7357
1 changed files with 4 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue