diff options
author | Kevin Brubeck Unhammer <unhammer@fsfe.org> | 2022-06-21 13:02:05 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-06-21 13:02:05 +0200 |
commit | 97950f2bc4cda476d540037b59cf1f90fcb9bc0a (patch) | |
tree | 931fc0c26de5b0c79752ba8a7cfd3391f271e736 /lisp/mail | |
parent | 3d4b389f3247d0158ba8572caf89331cb6f04a6d (diff) | |
download | emacs-97950f2bc4cda476d540037b59cf1f90fcb9bc0a.tar.gz emacs-97950f2bc4cda476d540037b59cf1f90fcb9bc0a.tar.bz2 emacs-97950f2bc4cda476d540037b59cf1f90fcb9bc0a.zip |
Speed up mail-extr in some configurations
* lisp/mail/mail-extr.el (mail-extract-address-components):
(mail-extract-address-components): The buffer is already in
fundamental-mode, so don't re-enable it (bug#56113).
Diffstat (limited to 'lisp/mail')
-rw-r--r-- | lisp/mail/mail-extr.el | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lisp/mail/mail-extr.el b/lisp/mail/mail-extr.el index 50ba04ccc1e..c87ea2b46e6 100644 --- a/lisp/mail/mail-extr.el +++ b/lisp/mail/mail-extr.el @@ -716,7 +716,6 @@ to the results." value-list) (with-current-buffer (get-buffer-create extraction-buffer) - (fundamental-mode) (buffer-disable-undo extraction-buffer) (set-syntax-table mail-extr-address-syntax-table) (widen) @@ -738,7 +737,6 @@ to the results." (set-text-properties (point-min) (point-max) nil) (with-current-buffer (get-buffer-create canonicalization-buffer) - (fundamental-mode) (buffer-disable-undo canonicalization-buffer) (setq case-fold-search nil)) |