[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/emacs-23 r100276: Fix arg usage of format-d
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/emacs-23 r100276: Fix arg usage of format-decode-run-method (Bug#7488). |
Date: |
Mon, 06 Dec 2010 14:35:54 -0500 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 100276
author: Lawrence Mitchell <address@hidden>
committer: Chong Yidong <address@hidden>
branch nick: emacs-23
timestamp: Mon 2010-12-06 14:35:54 -0500
message:
Fix arg usage of format-decode-run-method (Bug#7488).
* lisp/format.el (format-decode-run-method): Pass args FROM and TO, not
point-min and point-max, to shell-command-on-region (Bug#7488).
modified:
lisp/ChangeLog
lisp/format.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2010-12-06 06:51:06 +0000
+++ b/lisp/ChangeLog 2010-12-06 19:35:54 +0000
@@ -1,3 +1,8 @@
+2010-12-06 Lawrence Mitchell <address@hidden>
+
+ * format.el (format-decode-run-method): Pass args FROM and TO, not
+ point-min and point-max, to shell-command-on-region (Bug#7488).
+
2010-12-06 Jan Djärv <address@hidden>
* frame.el (blink-cursor-mode): Make default t for ns.
=== modified file 'lisp/format.el'
--- a/lisp/format.el 2010-01-13 08:35:10 +0000
+++ b/lisp/format.el 2010-12-06 19:35:54 +0000
@@ -180,8 +180,7 @@
;; We should perhaps go via a temporary buffer and copy it
;; back, in case of errors.
(if (and (zerop (save-window-excursion
- (shell-command-on-region (point-min) (point-max)
- method t t
+ (shell-command-on-region from to method t t
error-buff)))
;; gzip gives zero exit status with bad args, for instance.
(zerop (with-current-buffer error-buff
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/emacs-23 r100276: Fix arg usage of format-decode-run-method (Bug#7488).,
Chong Yidong <=