annotate etc/nxml/test-invalid.xml @ 111676:7b1a21c5033e

Cleanup diff-buffer-with-file. * lisp/vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove. (diff-sentinel): Get them as arguments instead. (diff-old-file, diff-new-file, diff-extra-args): Remove. (diff-file-local-copy, diff-better-file-name): New funs. (diff-no-select): Rename from diff-into-buffer. Support buffers additionally to files. Move `buf' arg. Don't display buf. Prefer closures to buffer-local variables. (diff): Adjust accordingly. (diff-buffer-with-file): Move from files.el. * lisp/files.el (diff-buffer-with-file): Move to vc/diff.el. (diff-buffer-internal): Remove. (diff-buffer-buffer): Remove. (save-some-buffers-action-alist): Use diff-no-select so as not to guess the buffer name used, and so as not to mess up windows and frames.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 22 Nov 2010 14:22:03 -0500
parents 48f440e3817e
children ef719132ddfa
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
91891
48f440e3817e Move here from lisp/nxml. Rename from "test." to "test-" for doschk.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
1 <html xmlns="http://www.w3.org/1999/xhtml">
48f440e3817e Move here from lisp/nxml. Rename from "test." to "test-" for doschk.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
2 <head>
48f440e3817e Move here from lisp/nxml. Rename from "test." to "test-" for doschk.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
3 <title>An invalid document</title>
48f440e3817e Move here from lisp/nxml. Rename from "test." to "test-" for doschk.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
4 </head>
48f440e3817e Move here from lisp/nxml. Rename from "test." to "test-" for doschk.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
5 <body>
48f440e3817e Move here from lisp/nxml. Rename from "test." to "test-" for doschk.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
6 <p>This XHTML document is <span class="#foo">invalid</span>.</p>
48f440e3817e Move here from lisp/nxml. Rename from "test." to "test-" for doschk.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
7 </body>
48f440e3817e Move here from lisp/nxml. Rename from "test." to "test-" for doschk.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
8 </html>
48f440e3817e Move here from lisp/nxml. Rename from "test." to "test-" for doschk.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
9
48f440e3817e Move here from lisp/nxml. Rename from "test." to "test-" for doschk.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
10 <!-- arch-tag: 8127c8be-d617-46f5-bdf2-c9159a417c38
48f440e3817e Move here from lisp/nxml. Rename from "test." to "test-" for doschk.
Glenn Morris <rgm@gnu.org>
parents:
diff changeset
11 (do not change this comment) -->