summaryrefslogtreecommitdiff
path: root/lisp/informat.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2021-04-10 17:01:01 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2021-04-10 17:01:01 -0400
commitedf8497ce3dc0fe0a137c37ca279528b46185ed5 (patch)
tree3e401ac1b10f20de7a13d5464ab9d950541cdc32 /lisp/informat.el
parent5ad3893ebaf8190e1e262caf33bc736e79a0d07b (diff)
downloademacs-edf8497ce3dc0fe0a137c37ca279528b46185ed5.tar.gz
* lisp/informat.el: Use lexical-binding
Diffstat (limited to 'lisp/informat.el')
-rw-r--r--lisp/informat.el4
1 files 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