]> code.delx.au - gnu-emacs/commitdiff
(Info-fontify-node): For a **** underline line, put the
authorRichard M. Stallman <rms@gnu.org>
Sun, 30 Dec 2001 19:45:41 +0000 (19:45 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 30 Dec 2001 19:45:41 +0000 (19:45 +0000)
invisible and intangible props on the following newline, but not
on the previous newline or the last char of the previous line.

lisp/info.el

index 7b433c9324f25549229071e3f6a52273b050b58b..7bbfcd9e79e95681106e3dde666416289414214a 100644 (file)
@@ -2641,10 +2641,8 @@ 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-end 1) (match-end 2)
-                                '(invisible t intangible t))
-           (add-text-properties (1- (match-end 1)) (match-end 2)
-                                '(intangible t))))
+           (add-text-properties (match-beginning 2) (1+ (match-end 2))
+                                '(invisible t intangible t))))
        (goto-char (point-min))
        (while (re-search-forward "\\*Note[ \n\t]+\\([^:]*\\):" nil t)
          (if (= (char-after (1- (match-beginning 0))) ?\") ; hack