]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/informat.el: Use lexical-binding
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 10 Apr 2021 21:01:01 +0000 (17:01 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 10 Apr 2021 21:01:01 +0000 (17:01 -0400)
lisp/informat.el

index 3da23516333bfa1f9ef470c8d45f6be6547af135..bac09752b70e771a12428d6b7c160bdbcc3b93d3 100644 (file)
@@ -1,4 +1,4 @@
-;;; informat.el --- info support functions package for Emacs
+;;; informat.el --- info support functions package for Emacs  -*- lexical-binding: t; -*-
 
 ;; Copyright (C) 1986, 2001-2021 Free Software Foundation, Inc.
 
                (or (bolp)
                    (newline))
                (insert "\^_\f\nTag table:\n")
-               (if (eq major-mode 'info-mode)
+               (if (derived-mode-p 'info-mode)
                    (move-marker Info-tag-table-marker (point)))
                (setq tag-list (nreverse tag-list))
                (while tag-list