Mercurial > emacs
view etc/nxml/00500-0052F.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 | fb055b2a8e66 |
children | ef719132ddfa |
line wrap: on
line source
(nxml-define-char-name-set 'cyrillic-supplementary '(("CYRILLIC CAPITAL LETTER KOMI DE" #x0500) ("CYRILLIC SMALL LETTER KOMI DE" #x0501) ("CYRILLIC CAPITAL LETTER KOMI DJE" #x0502) ("CYRILLIC SMALL LETTER KOMI DJE" #x0503) ("CYRILLIC CAPITAL LETTER KOMI ZJE" #x0504) ("CYRILLIC SMALL LETTER KOMI ZJE" #x0505) ("CYRILLIC CAPITAL LETTER KOMI DZJE" #x0506) ("CYRILLIC SMALL LETTER KOMI DZJE" #x0507) ("CYRILLIC CAPITAL LETTER KOMI LJE" #x0508) ("CYRILLIC SMALL LETTER KOMI LJE" #x0509) ("CYRILLIC CAPITAL LETTER KOMI NJE" #x050A) ("CYRILLIC SMALL LETTER KOMI NJE" #x050B) ("CYRILLIC CAPITAL LETTER KOMI SJE" #x050C) ("CYRILLIC SMALL LETTER KOMI SJE" #x050D) ("CYRILLIC CAPITAL LETTER KOMI TJE" #x050E) ("CYRILLIC SMALL LETTER KOMI TJE" #x050F) )) ;; arch-tag: 3ae51d36-3921-4ec5-b6be-3e9c895be9f3