Mercurial > emacs
view etc/nxml/test-invalid.xml @ 91999:a58e06f6236c
Extend [hv]scroll support to per-window properties.
(image-mode-current-vscroll, image-mode-current-hscroll): Remove.
(image-mode-winprops-alist): New var to replace them.
(image-mode-new-window-functions): New hook.
(image-mode-winprops, image-mode-window-get, image-mode-window-put): New funs.
(image-set-window-vscroll, image-set-window-hscroll): Use them.
Remove the `window' argument, update callers.
(image-mode-reapply-winprops): Rename image-reset-current-vhscroll.
Use the new functions.
(image-mode-reapply-winprops): New fun.
(image-mode): Use it.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Thu, 21 Feb 2008 03:27:15 +0000 |
parents | 48f440e3817e |
children | ef719132ddfa |
line wrap: on
line source
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>An invalid document</title> </head> <body> <p>This XHTML document is <span class="#foo">invalid</span>.</p> </body> </html> <!-- arch-tag: 8127c8be-d617-46f5-bdf2-c9159a417c38 (do not change this comment) -->