GNU bug report logs - #51589
29.0.50; term-mode hooks are executed twice

Previous Next

Package: emacs;

Reported by: Raymond <raymond <at> jug.gl>

Date: Wed, 3 Nov 2021 17:11:01 UTC

Severity: normal

Found in version 29.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Raymond <raymond <at> jug.gl>
Cc: 51589 <at> debbugs.gnu.org
Subject: bug#51589: 29.0.50; term-mode hooks are executed twice
Date: Thu, 04 Nov 2021 19:02:43 +0100
Raymond <raymond <at> jug.gl> writes:

> A possible reason might be that inside `(defun term)` you'll see
> `(term-mode)` being invoked:
>
>     ...
>     (set-buffer (make-term "terminal" program))
>     (term-mode)
>     ...
>
> Yet, `(defun make-term)` also contains an invocation of `(term-mode)`.

Yup.  I've now fixed this in Emacs 29.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 203 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.