Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
d1a5d56a
Commit
d1a5d56a
authored
May 31, 2011
by
Glenn Morris
Browse files
* lisp/mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
parent
357e1c67
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/mail/emacsbug.el
lisp/mail/emacsbug.el
+5
-0
No files found.
lisp/ChangeLog
View file @
d1a5d56a
...
...
@@ -56,6 +56,10 @@
(rcirc-decode-coding-system): Allow value nil for automatic coding
system detection.
2011-06-01 Glenn Morris <rgm@gnu.org>
* mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
2011-05-29 Chong Yidong <cyd@stupidchicken.com>
* image.el (image-animate-max-time): Allow nil and t values.
...
...
lisp/mail/emacsbug.el
View file @
d1a5d56a
...
...
@@ -331,6 +331,7 @@ usually do not have translators to read other languages for them.\n\n")
;; It's the default mail mode, so it seems OK to use its features.
(
autoload
'message-bogus-recipient-p
"message"
)
(
defvar
message-send-mail-function
)
(
defun
report-emacs-bug-hook
()
"Do some checking before sending a bug report."
...
...
@@ -343,6 +344,10 @@ usually do not have translators to read other languages for them.\n\n")
report-emacs-bug-orig-text
)
(
error
"No text entered in bug report"
))
(
or
report-emacs-bug-no-confirmation
;; mailclient.el does not handle From (at present).
(
if
(
eq
major-mode
'message-mode
)
(
eq
message-send-mail-function
'message-send-mail-with-mailclient
)
(
eq
send-mail-function
'mailclient-send-it
))
;; Not narrowing to the headers, but that's OK.
(
let
((
from
(
mail-fetch-field
"From"
)))
(
and
(
or
(
not
from
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment