]> git.eshelyaron.com Git - emacs.git/commitdiff
(Info-fontify-node): Hide \n------- rather than -------\n.
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 28 May 2003 22:53:08 +0000 (22:53 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 28 May 2003 22:53:08 +0000 (22:53 +0000)
lisp/info.el

index 5e895f250d68c8abfc37200e3ddd7d64bc24bf73..5ccd46dad580b5155e84b39f2752b766408128aa 100644 (file)
@@ -2856,7 +2856,7 @@ the variable `Info-file-list-for-emacs'."
          ;; frame types at once.  We want this text to be invisible
          ;; on frames that can display the font above.
          (when (memq (framep (selected-frame)) '(x pc w32 mac))
-           (add-text-properties (match-beginning 2) (1+ (match-end 2))
+           (add-text-properties (1- (match-beginning 2)) (match-end 2)
                                 '(invisible t))))
        (goto-char (point-min))
        (while (re-search-forward "\\(\\*Note[ \t]*\\)\n?[ \t]*\\([^:]*\\)\\(:[^.,:(]*\\(([^)]*)[^.,:]*\\)?[,:]?\n?\\)" nil t)