]> git.eshelyaron.com Git - emacs.git/commit
Fix exiting Emacs after saving a tutorial
authorManuel Giraud <manuel@ledu-giraud.fr>
Fri, 29 Nov 2024 15:35:47 +0000 (16:35 +0100)
committerEshel Yaron <me@eshelyaron.com>
Wed, 4 Dec 2024 17:01:41 +0000 (18:01 +0100)
commit17fccf61aeca8b594c96420c26cbfbff715d3a6a
tree6e15e360a3bd3298bd040eeb02a7fd204232d3ac
parentb05d9066e1d87e3ffec3d0fe0613352f2141f95c
Fix exiting Emacs after saving a tutorial

* lisp/tutorial.el (tutorial--lang)
(tutorial--point-before-chkeys): Add both variables as
permanent-local, so that saving the tutorial to some file
doesn't kill these buffer-local variables.  Otherwise, trying to
exit Emacs after saving the tutorial will signal an error,
because 'tutorial--lang' is nil.  (Bug#74364)

(cherry picked from commit a8169bee2064282a40214ef65ef0493233ed4669)
lisp/tutorial.el