aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1997-06-04 04:09:28 +0000
committerRichard M. Stallman <[email protected]>1997-06-04 04:09:28 +0000
commit9304909ed21d969e814d6530a5c4ef7ab6813a24 (patch)
tree0d758ba8cb189f804e6ec4bd0a47cde26dd86903 /lisp
parent5dd4d40aafb30723b2b474226282cdf39c191bf3 (diff)
(Info-tagify): Don't set Info-tag-table-marker if not in Info mode.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/informat.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/informat.el b/lisp/informat.el
index 0b195b9e62..67c915f9be 100644
--- a/lisp/informat.el
+++ b/lisp/informat.el
@@ -71,7 +71,8 @@
(delete-region (point) end)))
(goto-char (point-max))
(insert "\^_\f\nTag table:\n")
- (move-marker Info-tag-table-marker (point))
+ (if (eq major-mode 'info-mode)
+ (move-marker Info-tag-table-marker (point)))
(setq list (nreverse list))
(while list
(insert "Node: " (car (car list)) ?\177)