summaryrefslogtreecommitdiff
path: root/lisp/net/tramp-cmds.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/net/tramp-cmds.el')
-rw-r--r--lisp/net/tramp-cmds.el8
1 files changed, 3 insertions, 5 deletions
diff --git a/lisp/net/tramp-cmds.el b/lisp/net/tramp-cmds.el
index 99fc0cc7098..a11908af63e 100644
--- a/lisp/net/tramp-cmds.el
+++ b/lisp/net/tramp-cmds.el
@@ -247,10 +247,9 @@ buffer in your bug report.
;; Pretty print the cache.
(set varsym (read (format "(%s)" (tramp-cache-print val))))
;; There are non-7bit characters to be masked.
- (when (and (boundp 'mm-7bit-chars)
- (stringp val)
+ (when (and (stringp val)
(string-match
- (concat "[^" (symbol-value 'mm-7bit-chars) "]") val))
+ (concat "[^" (bound-and-true-p mm-7bit-chars) "]") val))
(with-current-buffer reporter-eval-buffer
(set
varsym
@@ -327,8 +326,7 @@ buffer in your bug report.
;; Append buffers only when we are in message mode.
(when (and
(eq major-mode 'message-mode)
- (boundp 'mml-mode)
- (symbol-value 'mml-mode))
+ (bound-and-true-p mml-mode))
(let ((tramp-buf-regexp "\\*\\(debug \\)?tramp/")
(buffer-list (tramp-list-tramp-buffers))