diff options
author | Steven Allen <steven@stebalien.com> | 2020-11-10 10:02:15 +0100 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2020-11-10 10:02:15 +0100 |
commit | 515791ae8aa9283de381ace82abda96319a0e4f2 (patch) | |
tree | 262ee1937c899420b63beb13f90bd53bfc65b914 /lisp/net/tramp-gvfs.el | |
parent | ee11a68320eeb8bb90ded9773c02d7863abca3d7 (diff) | |
download | emacs-515791ae8aa9283de381ace82abda96319a0e4f2.tar.gz |
Only use nbutlast when we actually want to modify the original list
* lisp/net/tramp-gvfs.el (tramp-gvfs-dbus-byte-array-to-string):
Don't modify the byte array.
* lisp/net/tramp-integration.el (tramp-eshell-directory-change):
Don't modify the underlying exec-path.
Diffstat (limited to 'lisp/net/tramp-gvfs.el')
-rw-r--r-- | lisp/net/tramp-gvfs.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/net/tramp-gvfs.el b/lisp/net/tramp-gvfs.el index 8f8e628ab9d..86fb45a43b7 100644 --- a/lisp/net/tramp-gvfs.el +++ b/lisp/net/tramp-gvfs.el @@ -876,7 +876,7 @@ Return nil for null BYTE-ARRAY." byte-array (car byte-array)))) (dbus-byte-array-to-string (if (and (consp byte-array) (zerop (car (last byte-array)))) - (nbutlast byte-array) byte-array)))) + (butlast byte-array) byte-array)))) (defun tramp-gvfs-stringify-dbus-message (message) "Convert a D-Bus MESSAGE into readable UTF8 strings, used for traces." |