summaryrefslogtreecommitdiff
path: root/lisp/ps-samp.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/ps-samp.el')
-rw-r--r--lisp/ps-samp.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/ps-samp.el b/lisp/ps-samp.el
index ce2429fe57..0288559ca3 100644
--- a/lisp/ps-samp.el
+++ b/lisp/ps-samp.el
@@ -72,8 +72,7 @@
(symbol-value summary-buffer))
summary-default)))
(and (get-buffer ps-buf)
- (save-excursion
- (set-buffer ps-buf)
+ (with-current-buffer ps-buf
(ps-spool-buffer-with-faces)))))
;; Look in an article or mail message for the Subject: line. To be