+2009-11-24 Markus Triska <markus.triska@gmx.at>
+
+ * linum.el (linum-update-window): Ignore intangible (bug#4996).
+
2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
Handle the [back] button properly (bug#4979).
(overlay-put ov 'before-string
(propertize " " 'display `((margin left-margin) ,str)))
(overlay-put ov 'linum-str str))))
- (forward-line)
+ ;; Text may contain those nasty intangible properties, but that
+ ;; shouldn't prevent us from counting those lines.
+ (let ((inhibit-point-motion-hooks t))
+ (forward-line))
(setq line (1+ line)))
(set-window-margins win width (cdr (window-margins win)))))