aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/info.el
diff options
context:
space:
mode:
authorJuri Linkov2012-12-04 01:38:56 +0200
committerJuri Linkov2012-12-04 01:38:56 +0200
commit68bf4e0964f28642ec035e5ebd0b4c567bb9f739 (patch)
tree29d4d9b8cee6c0a81f32994fdd94365e34db9e84 /lisp/info.el
parent26163acc7ab519baa444f842f26f2199512a6889 (diff)
downloademacs-68bf4e0964f28642ec035e5ebd0b4c567bb9f739.tar.gz
emacs-68bf4e0964f28642ec035e5ebd0b4c567bb9f739.zip
* lisp/info.el (Info-fontify-node): Don't hide the last newline.
Fixes: debbugs:12272
Diffstat (limited to 'lisp/info.el')
-rw-r--r--lisp/info.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/info.el b/lisp/info.el
index 36ffa806f04..1e15dcbc9a0 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -4826,8 +4826,8 @@ first line or header line, and for breadcrumb links.")
4826 ;; Hide empty lines at the end of the node. 4826 ;; Hide empty lines at the end of the node.
4827 (goto-char (point-max)) 4827 (goto-char (point-max))
4828 (skip-chars-backward "\n") 4828 (skip-chars-backward "\n")
4829 (when (< (1+ (point)) (point-max)) 4829 (when (< (point) (1- (point-max)))
4830 (put-text-property (1+ (point)) (point-max) 'invisible t)) 4830 (put-text-property (point) (1- (point-max)) 'invisible t))
4831 4831
4832 (set-buffer-modified-p nil)))) 4832 (set-buffer-modified-p nil))))
4833 4833