From edf8497ce3dc0fe0a137c37ca279528b46185ed5 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sat, 10 Apr 2021 17:01:01 -0400 Subject: [PATCH] * lisp/informat.el: Use lexical-binding --- lisp/informat.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/informat.el b/lisp/informat.el index 3da23516333..bac09752b70 100644 --- a/lisp/informat.el +++ b/lisp/informat.el @@ -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. @@ -140,7 +140,7 @@ (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 -- 2.39.2