emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 97950f2bc4: Speed up mail-extr in some configurations


From: Lars Ingebrigtsen
Subject: master 97950f2bc4: Speed up mail-extr in some configurations
Date: Tue, 21 Jun 2022 07:03:38 -0400 (EDT)

branch: master
commit 97950f2bc4cda476d540037b59cf1f90fcb9bc0a
Author: Kevin Brubeck Unhammer <unhammer@fsfe.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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).
---
 lisp/mail/mail-extr.el | 2 --
 1 file changed, 2 deletions(-)

diff --git a/lisp/mail/mail-extr.el b/lisp/mail/mail-extr.el
index 50ba04ccc1..c87ea2b46e 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))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]