aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinicius Jose Latorre2007-12-26 16:28:30 +0000
committerVinicius Jose Latorre2007-12-26 16:28:30 +0000
commit53a124003ed4fba04eb9bbee897e0548747b0c31 (patch)
tree08c03d8e52fd4551e0f6e7b54266181a6f732bee
parent8c1bb9603fa68212014b54ab058777da8bf65f05 (diff)
downloademacs-53a124003ed4fba04eb9bbee897e0548747b0c31.tar.gz
emacs-53a124003ed4fba04eb9bbee897e0548747b0c31.zip
Fix ps-print-preprint-region code
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/ps-print.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7dde34cb55d..e98c4bf2fce 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12007-12-26 Vinicius Jose Latorre <viniciusjl@ig.com.br>
2
3 * ps-print.el (ps-print-preprint-region): Use `region-active-p' instead
4 `mark' for error checking.
5
12007-12-26 Tassilo Horn <tassilo@member.fsf.org> 62007-12-26 Tassilo Horn <tassilo@member.fsf.org>
2 7
3 * image-mode.el (image-bookmark-make-cell, image-bookmark-jump): 8 * image-mode.el (image-bookmark-make-cell, image-bookmark-jump):
diff --git a/lisp/ps-print.el b/lisp/ps-print.el
index fd5d94334cb..2cdb50e76ef 100644
--- a/lisp/ps-print.el
+++ b/lisp/ps-print.el
@@ -4695,7 +4695,7 @@ page-height == ((floor print-height ((th + ls) * zh)) * ((th + ls) * zh)) - th
4695 4695
4696 4696
4697(defun ps-print-preprint-region (prefix-arg) 4697(defun ps-print-preprint-region (prefix-arg)
4698 (or (mark) 4698 (or (region-active-p)
4699 (error "The mark is not set now")) 4699 (error "The mark is not set now"))
4700 (list (point) (mark) (ps-print-preprint prefix-arg))) 4700 (list (point) (mark) (ps-print-preprint prefix-arg)))
4701 4701