* lisp/gnus/message.el: Improve last commit
(message-clone-locals): Don't mistakenly match other variables whose name happens to include "message-default-charset".
This commit is contained in:
parent
7ed7360855
commit
6c2b1e89ef
1 changed files with 1 additions and 2 deletions
|
@ -8063,8 +8063,7 @@ regexp VARSTR."
|
||||||
;; Cloning message-default-charset could cause an already
|
;; Cloning message-default-charset could cause an already
|
||||||
;; encoded text to be encoded again, yielding raw bytes
|
;; encoded text to be encoded again, yielding raw bytes
|
||||||
;; instead of characters in the message.
|
;; instead of characters in the message.
|
||||||
(unless (string-match "message-default-charset"
|
(unless (eq 'message-default-charset (car local))
|
||||||
(symbol-name (car local)))
|
|
||||||
(set (make-local-variable (car local))
|
(set (make-local-variable (car local))
|
||||||
(cdr local))))))
|
(cdr local))))))
|
||||||
locals)))
|
locals)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue