+2013-03-13 Michael Albinus <michael.albinus@gmx.de>
+
+ * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
+ whether `default-file-name-coding-system' is bound. It isn't in
+ XEmacs.
+
2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
(tramp-gvfs-mount-spec): Use it.
(tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
there is a share name. Handle different names of the D-Bus
- signals and methods.
- (tramp-gvfs-maybe-open-connection): Set connection properties
- needed for `tramp-check-cached-permissions'.
+ signals and methods. Set connection properties needed for
+ `tramp-check-cached-permissions'.
(tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
Return t or nil.
* net/tramp.el (tramp-backtrace): Move up.
- (tramp-error): Apply a backtrace into the debug buffer when
+ (tramp-error): Dump a backtrace into the debug buffer when
`tramp-verbose > 9.
(tramp-file-mode-type-map, tramp-file-mode-from-int)
(tramp-file-mode-permissions, tramp-get-local-uid)
;; Decode the output, it could be multibyte.
(decode-coding-region
beg (point-max)
- (or file-name-coding-system default-file-name-coding-system))
+ (or file-name-coding-system
+ (and (boundp 'default-file-name-coding-system)
+ (symbolp 'default-file-name-coding-system))))
;; The inserted file could be from somewhere else.
(when (and (not wildcard) (not full-directory-p))