Mercurial > emacs
annotate msdos/sedlisp.inp @ 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 | f1433702b7ea |
children | 417b1e4d63cd |
rev | line source |
---|---|
29678 | 1 # -sedlisp.inp----------------------------------------------------------- |
2 # Configuration script for lisp/Makefile under DJGPP v2.x | |
3 # ---------------------------------------------------------------------- | |
36461
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
29714
diff
changeset
|
4 # |
75249
4ad431d8e164
Update copyright for years from Emacs 21 to present (mainly adding
Glenn Morris <rgm@gnu.org>
parents:
68648
diff
changeset
|
5 # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, |
106815 | 6 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. |
36461
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
29714
diff
changeset
|
7 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
29714
diff
changeset
|
8 # This file is part of GNU Emacs. |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
29714
diff
changeset
|
9 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
29714
diff
changeset
|
10 # This file is free software; as a special exception, the author gives |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
29714
diff
changeset
|
11 # unlimited permission to copy and/or distribute it, with or without |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
29714
diff
changeset
|
12 # modifications, as long as this notice is preserved. |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
29714
diff
changeset
|
13 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
29714
diff
changeset
|
14 # This program is distributed in the hope that it will be useful, |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
29714
diff
changeset
|
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
29714
diff
changeset
|
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
29714
diff
changeset
|
17 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
29714
diff
changeset
|
18 # ---------------------------------------------------------------------- |
29678 | 19 |
52384
d7624ada9a94
Set FNCASE=y for all targets in the lisp directory,
Eli Zaretskii <eliz@gnu.org>
parents:
44173
diff
changeset
|
20 /^SHELL *=/i\ |
d7624ada9a94
Set FNCASE=y for all targets in the lisp directory,
Eli Zaretskii <eliz@gnu.org>
parents:
44173
diff
changeset
|
21 export FNCASE=y |
d7624ada9a94
Set FNCASE=y for all targets in the lisp directory,
Eli Zaretskii <eliz@gnu.org>
parents:
44173
diff
changeset
|
22 |
107548
f1433702b7ea
Fix the MSDOS build as fallout from the latest Makefile.in changes.
Eli Zaretskii <eliz@gnu.org>
parents:
106815
diff
changeset
|
23 /^lisp *=/s|\$(srcdir)|$(CURDIR)| |
f1433702b7ea
Fix the MSDOS build as fallout from the latest Makefile.in changes.
Eli Zaretskii <eliz@gnu.org>
parents:
106815
diff
changeset
|
24 /^srcdir *=/s|@srcdir@|.| |
f1433702b7ea
Fix the MSDOS build as fallout from the latest Makefile.in changes.
Eli Zaretskii <eliz@gnu.org>
parents:
106815
diff
changeset
|
25 /^top_srcdir *=/s|@top_srcdir@|./..| |
f1433702b7ea
Fix the MSDOS build as fallout from the latest Makefile.in changes.
Eli Zaretskii <eliz@gnu.org>
parents:
106815
diff
changeset
|
26 /^abs_top_builddir *=/s|@abs_top_builddir@|$(CURDIR)/..| |
52401 | 27 |
28 # arch-tag: da7a3cff-4839-4ad7-bbe3-e2b61c84c38e |