Mercurial > emacs
view etc/nxml/027F0-027FF.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 | 341bf20efae0 |
children | ef719132ddfa |
line wrap: on
line source
(nxml-define-char-name-set 'supplemental-arrows-a '(("UPWARDS QUADRUPLE ARROW" #x27F0) ("DOWNWARDS QUADRUPLE ARROW" #x27F1) ("ANTICLOCKWISE GAPPED CIRCLE ARROW" #x27F2) ("CLOCKWISE GAPPED CIRCLE ARROW" #x27F3) ("RIGHT ARROW WITH CIRCLED PLUS" #x27F4) ("LONG LEFTWARDS ARROW" #x27F5) ("LONG RIGHTWARDS ARROW" #x27F6) ("LONG LEFT RIGHT ARROW" #x27F7) ("LONG LEFTWARDS DOUBLE ARROW" #x27F8) ("LONG RIGHTWARDS DOUBLE ARROW" #x27F9) ("LONG LEFT RIGHT DOUBLE ARROW" #x27FA) ("LONG LEFTWARDS ARROW FROM BAR" #x27FB) ("LONG RIGHTWARDS ARROW FROM BAR" #x27FC) ("LONG LEFTWARDS DOUBLE ARROW FROM BAR" #x27FD) ("LONG RIGHTWARDS DOUBLE ARROW FROM BAR" #x27FE) ("LONG RIGHTWARDS SQUIGGLE ARROW" #x27FF) )) ;; arch-tag: 64623112-13d2-4bd6-8768-5508e3a7f8a9