summaryrefslogtreecommitdiff
path: root/lisp/mail/reporter.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/mail/reporter.el')
-rw-r--r--lisp/mail/reporter.el11
1 files changed, 6 insertions, 5 deletions
diff --git a/lisp/mail/reporter.el b/lisp/mail/reporter.el
index 8f6715018c4..f8332a6906b 100644
--- a/lisp/mail/reporter.el
+++ b/lisp/mail/reporter.el
@@ -1,9 +1,9 @@
;;; reporter.el --- customizable bug reporting of lisp programs
-;; Copyright (C) 1993-1998, 2001-2013 Free Software Foundation, Inc.
+;; Copyright (C) 1993-1998, 2001-2015 Free Software Foundation, Inc.
;; Author: 1993-1998 Barry A. Warsaw
-;; Maintainer: FSF
+;; Maintainer: emacs-devel@gnu.org
;; Created: 19-Apr-1993
;; Keywords: maint mail tools
@@ -200,9 +200,10 @@ MAILBUF is the mail buffer being composed."
(insert "\n"))
(void-variable
(with-current-buffer mailbuf
- (mail-position-on-field "X-Reporter-Void-Vars-Found")
- (end-of-line)
- (insert (symbol-name varsym) " ")))
+ (save-excursion
+ (mail-position-on-field "X-Reporter-Void-Vars-Found")
+ (end-of-line)
+ (insert (symbol-name varsym) " "))))
(error
(error ""))))