* lisp/info.el (Info-fontify-node): Don't hide the last newline.
Fixes: debbugs:12272
This commit is contained in:
parent
26163acc7a
commit
68bf4e0964
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2012-12-03 Juri Linkov <juri@jurta.org>
|
||||
|
||||
* info.el (Info-fontify-node): Don't hide the last newline.
|
||||
(Bug#12272)
|
||||
|
||||
2012-12-01 Leo Liu <sdl.web@gmail.com>
|
||||
|
||||
* files.el (dir-locals-read-from-file): Check file non-empty
|
||||
|
|
|
@ -4826,8 +4826,8 @@ first line or header line, and for breadcrumb links.")
|
|||
;; Hide empty lines at the end of the node.
|
||||
(goto-char (point-max))
|
||||
(skip-chars-backward "\n")
|
||||
(when (< (1+ (point)) (point-max))
|
||||
(put-text-property (1+ (point)) (point-max) 'invisible t))
|
||||
(when (< (point) (1- (point-max)))
|
||||
(put-text-property (point) (1- (point-max)) 'invisible t))
|
||||
|
||||
(set-buffer-modified-p nil))))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue