Mercurial > emacs
view etc/nxml/0FE50-0FE6F.el @ 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 | 503a17b7bb43 |
children | ef719132ddfa |
line wrap: on
line source
(nxml-define-char-name-set 'small-form-variants '(("SMALL COMMA" #xFE50) ("SMALL IDEOGRAPHIC COMMA" #xFE51) ("SMALL FULL STOP" #xFE52) ("SMALL SEMICOLON" #xFE54) ("SMALL COLON" #xFE55) ("SMALL QUESTION MARK" #xFE56) ("SMALL EXCLAMATION MARK" #xFE57) ("SMALL EM DASH" #xFE58) ("SMALL LEFT PARENTHESIS" #xFE59) ("SMALL RIGHT PARENTHESIS" #xFE5A) ("SMALL LEFT CURLY BRACKET" #xFE5B) ("SMALL RIGHT CURLY BRACKET" #xFE5C) ("SMALL LEFT TORTOISE SHELL BRACKET" #xFE5D) ("SMALL RIGHT TORTOISE SHELL BRACKET" #xFE5E) ("SMALL NUMBER SIGN" #xFE5F) ("SMALL AMPERSAND" #xFE60) ("SMALL ASTERISK" #xFE61) ("SMALL PLUS SIGN" #xFE62) ("SMALL HYPHEN-MINUS" #xFE63) ("SMALL LESS-THAN SIGN" #xFE64) ("SMALL GREATER-THAN SIGN" #xFE65) ("SMALL EQUALS SIGN" #xFE66) ("SMALL REVERSE SOLIDUS" #xFE68) ("SMALL DOLLAR SIGN" #xFE69) ("SMALL PERCENT SIGN" #xFE6A) ("SMALL COMMERCIAL AT" #xFE6B) )) ;; arch-tag: 4facf8e4-cea2-4194-bc17-f0959c358f7f