diff options
| author | Glenn Morris | 2014-11-03 16:49:37 -0500 |
|---|---|---|
| committer | Glenn Morris | 2014-11-03 16:49:37 -0500 |
| commit | 41e962982dfe424c69ed99f0bd26a6e4eb67107f (patch) | |
| tree | d7cda64bfecc7b9403459fda89b7f39a9fd8732f /lisp | |
| parent | 303fd9411f21d19604306ecdbd89941bf4923201 (diff) | |
| parent | bd673cc594764572cd49bd0f10a0432006368489 (diff) | |
| download | emacs-41e962982dfe424c69ed99f0bd26a6e4eb67107f.tar.gz emacs-41e962982dfe424c69ed99f0bd26a6e4eb67107f.zip | |
Merge from emacs-24; up to 2014-08-07T11:49:36Z!rrt@sc3d.org
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 9 | ||||
| -rw-r--r-- | lisp/net/tramp-adb.el | 17 | ||||
| -rw-r--r-- | lisp/net/tramp-sh.el | 10 | ||||
| -rw-r--r-- | lisp/obsolete/crisp.el | 2 |
4 files changed, 28 insertions, 10 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a94725c0b56..05c8ce4d83a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2014-11-03 Michael Albinus <michael.albinus@gmx.de> | ||
| 2 | |||
| 3 | * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer): Use a | ||
| 4 | local copy of FILENAME, when it is remote. (Bug#18751) | ||
| 5 | |||
| 6 | * net/tramp-adb.el (tramp-adb-handle-process-file): Do not raise | ||
| 7 | an error when the command fails; the return code must indicate. | ||
| 8 | (tramp-adb-send-command-and-check): Fix docstring. | ||
| 9 | |||
| 1 | 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org> | 10 | 2014-11-03 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 11 | ||
| 3 | * net/eww.el (eww-display-html): Clear `url-queue'. | 12 | * net/eww.el (eww-display-html): Clear `url-queue'. |
diff --git a/lisp/net/tramp-adb.el b/lisp/net/tramp-adb.el index 88e52fe0199..639f07b2f1d 100644 --- a/lisp/net/tramp-adb.el +++ b/lisp/net/tramp-adb.el | |||
| @@ -794,11 +794,13 @@ PRESERVE-UID-GID and PRESERVE-EXTENDED-ATTRIBUTES are completely ignored." | |||
| 794 | ;; directory. | 794 | ;; directory. |
| 795 | (condition-case nil | 795 | (condition-case nil |
| 796 | (progn | 796 | (progn |
| 797 | (setq ret 0) | 797 | (setq ret |
| 798 | (tramp-adb-barf-unless-okay | 798 | (if (tramp-adb-send-command-and-check |
| 799 | v (format "(cd %s; %s)" | 799 | v |
| 800 | (tramp-shell-quote-argument localname) command) | 800 | (format "(cd %s; %s)" |
| 801 | "") | 801 | (tramp-shell-quote-argument localname) command)) |
| 802 | ;; Set return status accordingly. | ||
| 803 | 0 1)) | ||
| 802 | ;; We should add the output anyway. | 804 | ;; We should add the output anyway. |
| 803 | (when outbuf | 805 | (when outbuf |
| 804 | (with-current-buffer outbuf | 806 | (with-current-buffer outbuf |
| @@ -1031,8 +1033,9 @@ This happens for Android >= 4.0." | |||
| 1031 | (defun tramp-adb-send-command-and-check | 1033 | (defun tramp-adb-send-command-and-check |
| 1032 | (vec command) | 1034 | (vec command) |
| 1033 | "Run COMMAND and check its exit status. | 1035 | "Run COMMAND and check its exit status. |
| 1034 | Sends `echo $?' along with the COMMAND for checking the exit status. If | 1036 | Sends `echo $?' along with the COMMAND for checking the exit |
| 1035 | COMMAND is nil, just sends `echo $?'. Returns the exit status found." | 1037 | status. If COMMAND is nil, just sends `echo $?'. Returns nil if |
| 1038 | the exit status is not equal 0, and t otherwise." | ||
| 1036 | (tramp-adb-send-command | 1039 | (tramp-adb-send-command |
| 1037 | vec (if command | 1040 | vec (if command |
| 1038 | (format "%s; echo tramp_exit_status $?" command) | 1041 | (format "%s; echo tramp_exit_status $?" command) |
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el index e120aedfc01..a72a79a7797 100644 --- a/lisp/net/tramp-sh.el +++ b/lisp/net/tramp-sh.el | |||
| @@ -2061,11 +2061,15 @@ FILENAME is the source file, NEWNAME the target file. | |||
| 2061 | KEEP-DATE is non-nil if NEWNAME should have the same timestamp as FILENAME." | 2061 | KEEP-DATE is non-nil if NEWNAME should have the same timestamp as FILENAME." |
| 2062 | (with-temp-buffer | 2062 | (with-temp-buffer |
| 2063 | ;; We must disable multibyte, because binary data shall not be | 2063 | ;; We must disable multibyte, because binary data shall not be |
| 2064 | ;; converted. | 2064 | ;; converted. `insert-file-contents-literally' does not support |
| 2065 | ;; file name handlers for GNU Emacs; we must create a local copy | ||
| 2066 | ;; therefore. | ||
| 2065 | (set-buffer-multibyte nil) | 2067 | (set-buffer-multibyte nil) |
| 2066 | (let ((coding-system-for-read 'binary) | 2068 | (let ((coding-system-for-read 'binary) |
| 2067 | (jka-compr-inhibit t)) | 2069 | (jka-compr-inhibit t) |
| 2068 | (insert-file-contents-literally filename)) | 2070 | (tmpfile (file-local-copy filename))) |
| 2071 | (insert-file-contents-literally (or tmpfile filename)) | ||
| 2072 | (when tmpfile (delete-file tmpfile))) | ||
| 2069 | ;; We don't want the target file to be compressed, so we let-bind | 2073 | ;; We don't want the target file to be compressed, so we let-bind |
| 2070 | ;; `jka-compr-inhibit' to t. | 2074 | ;; `jka-compr-inhibit' to t. |
| 2071 | (let ((coding-system-for-write 'binary) | 2075 | (let ((coding-system-for-write 'binary) |
diff --git a/lisp/obsolete/crisp.el b/lisp/obsolete/crisp.el index 47cf898190b..b9c2fc63a52 100644 --- a/lisp/obsolete/crisp.el +++ b/lisp/obsolete/crisp.el | |||
| @@ -23,6 +23,8 @@ | |||
| 23 | 23 | ||
| 24 | ;;; Commentary: | 24 | ;;; Commentary: |
| 25 | 25 | ||
| 26 | ;; *Note: This package has now moved to elpa.gnu.org.* | ||
| 27 | |||
| 26 | ;; Keybindings and minor functions to duplicate the functionality and | 28 | ;; Keybindings and minor functions to duplicate the functionality and |
| 27 | ;; finger-feel of the CRiSP/Brief editor. This package is designed to | 29 | ;; finger-feel of the CRiSP/Brief editor. This package is designed to |
| 28 | ;; facilitate transitioning from Brief to (XE|E)macs with a minimum | 30 | ;; facilitate transitioning from Brief to (XE|E)macs with a minimum |