aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/net
diff options
context:
space:
mode:
authorJoakim Verona2012-12-31 00:04:10 +0100
committerJoakim Verona2012-12-31 00:04:10 +0100
commit42a61fa6a6cbcfde79d812bbbba372d579dc1016 (patch)
tree96f29a95b6a443d93875882b1d7a7dbbd6fcc849 /lisp/net
parentea2da3d8fbf19765a9bd82292bfc73918f74048d (diff)
parent84cc1ab62539eed7869a88003a017330d79e8cac (diff)
downloademacs-42a61fa6a6cbcfde79d812bbbba372d579dc1016.tar.gz
emacs-42a61fa6a6cbcfde79d812bbbba372d579dc1016.zip
auto upstream
Diffstat (limited to 'lisp/net')
-rw-r--r--lisp/net/mairix.el10
-rw-r--r--lisp/net/tramp-sh.el13
-rw-r--r--lisp/net/tramp-smb.el2
3 files changed, 14 insertions, 11 deletions
diff --git a/lisp/net/mairix.el b/lisp/net/mairix.el
index f85983e6e9f..50cc2ed3dc3 100644
--- a/lisp/net/mairix.el
+++ b/lisp/net/mairix.el
@@ -222,14 +222,12 @@ Currently there are 'threads and 'flags.")
222 222
223;;; RMail 223;;; RMail
224 224
225;; Display function: 225(declare-function rmail-summary-displayed "rmail" ())
226(autoload 'rmail "rmail") 226(declare-function rmail-summary "rmailsum" ()) ; autoloaded in rmail
227(autoload 'rmail-summary-displayed "rmail")
228(autoload 'rmail-summary "rmailsum")
229(defvar rmail-buffer)
230 227
231(defun mairix-rmail-display (folder) 228(defun mairix-rmail-display (folder)
232 "Display mbox file FOLDER with RMail." 229 "Display mbox file FOLDER with RMail."
230 (require 'rmail)
233 (let (show-summary) 231 (let (show-summary)
234 ;; If it exists, select existing RMail window 232 ;; If it exists, select existing RMail window
235 (when (and (boundp 'rmail-buffer) 233 (when (and (boundp 'rmail-buffer)
@@ -249,6 +247,8 @@ Currently there are 'threads and 'flags.")
249 (when show-summary 247 (when show-summary
250 (rmail-summary)))) 248 (rmail-summary))))
251 249
250(defvar rmail-buffer)
251
252;; Fetching mail header field: 252;; Fetching mail header field:
253(defun mairix-rmail-fetch-field (field) 253(defun mairix-rmail-fetch-field (field)
254 "Get mail header FIELD for current message using RMail." 254 "Get mail header FIELD for current message using RMail."
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el
index ebc377c08c8..e46b32c85a5 100644
--- a/lisp/net/tramp-sh.el
+++ b/lisp/net/tramp-sh.el
@@ -1458,7 +1458,9 @@ and gid of the corresponding user is taken. Both parameters must be integers."
1458 ;; working with su(do)? when it is needed, so it shall succeed in 1458 ;; working with su(do)? when it is needed, so it shall succeed in
1459 ;; the majority of cases. 1459 ;; the majority of cases.
1460 ;; Don't modify `last-coding-system-used' by accident. 1460 ;; Don't modify `last-coding-system-used' by accident.
1461 (let ((last-coding-system-used last-coding-system-used)) 1461 (let ((last-coding-system-used last-coding-system-used)
1462 (uid (and (numberp uid) (round uid)))
1463 (gid (and (numberp gid) (round gid))))
1462 (if (file-remote-p filename) 1464 (if (file-remote-p filename)
1463 (with-parsed-tramp-file-name filename nil 1465 (with-parsed-tramp-file-name filename nil
1464 (if (and (zerop (user-uid)) (tramp-local-host-p v)) 1466 (if (and (zerop (user-uid)) (tramp-local-host-p v))
@@ -1530,10 +1532,11 @@ and gid of the corresponding user is taken. Both parameters must be integers."
1530 (if (stringp (nth 3 context)) 1532 (if (stringp (nth 3 context))
1531 (format "--range=%s" (nth 3 context)) "") 1533 (format "--range=%s" (nth 3 context)) "")
1532 (tramp-shell-quote-argument localname)))) 1534 (tramp-shell-quote-argument localname))))
1533 (tramp-set-file-property v localname "file-selinux-context" context) 1535 (progn
1534 (tramp-set-file-property v localname "file-selinux-context" 'undef))) 1536 (tramp-set-file-property v localname "file-selinux-context" context)
1535 ;; We always return nil. 1537 t)
1536 nil) 1538 (tramp-set-file-property v localname "file-selinux-context" 'undef)
1539 nil)))
1537 1540
1538(defun tramp-remote-acl-p (vec) 1541(defun tramp-remote-acl-p (vec)
1539 "Check, whether ACL is enabled on the remote host." 1542 "Check, whether ACL is enabled on the remote host."
diff --git a/lisp/net/tramp-smb.el b/lisp/net/tramp-smb.el
index f97d4620b97..af1e36350f5 100644
--- a/lisp/net/tramp-smb.el
+++ b/lisp/net/tramp-smb.el
@@ -230,7 +230,7 @@ See `tramp-actions-before-shell' for more info.")
230 (rename-file . tramp-smb-handle-rename-file) 230 (rename-file . tramp-smb-handle-rename-file)
231 (set-file-acl . ignore) 231 (set-file-acl . ignore)
232 (set-file-modes . tramp-smb-handle-set-file-modes) 232 (set-file-modes . tramp-smb-handle-set-file-modes)
233 ;; `set-file-selinux-context' performed by default handler. 233 (set-file-selinux-context . ignore)
234 (set-file-times . ignore) 234 (set-file-times . ignore)
235 (set-visited-file-modtime . ignore) 235 (set-visited-file-modtime . ignore)
236 (shell-command . tramp-handle-shell-command) 236 (shell-command . tramp-handle-shell-command)