Richard M. Stallman
e8f30180f4
(find-file-noselect): Don't call set-buffer-major-mode.
...
(find-file-noselect-1): Call it here, only if RAWFILE.
(normal-mode): Always set some major mode.
(save-some-buffers-action-alist): Change some explanation strings.
(file-name-non-special): In the `quote' method, use unwind-protect.
2005-08-09 13:35:12 +00:00
Thien-Thi Nguyen
0d30b33766
Update years in copyright notice; nfc.
2005-08-06 22:13:43 +00:00
Juanma Barranquero
26b9ecbcb9
(find-file-noselect, recode-file-name): Doc fixes.
...
(insert-directory, kill-some-buffers): "?\ " -> "?\s".
(magic-mode-alist, buffer-file-numbers-unique, write-file-functions,
get-free-disk-space): Fix typos in docstrings.
(find-file-not-found-hooks, find-file-hooks, write-file-hooks,
write-contents-hooks, write-file-hooks): Declare with
`define-obsolete-variable-alias'.
2005-07-20 01:57:49 +00:00
Juri Linkov
222cf3817c
(basic-save-buffer): Delete duplicate words.
2005-07-18 15:23:04 +00:00
Luc Teirlinck
e6d0b67a70
(set-visited-file-name): Avoid calling file-name-nondirectory with a
...
nil argument.
2005-07-10 14:42:02 +00:00
Richard M. Stallman
cbca0a4b37
(set-visited-file-name): Report the error for "empty filename" earlier.
...
(kill-some-buffers): Ignore buffers already dead.
2005-07-08 22:53:47 +00:00
Lute Kamstra
086add1519
Update FSF's address.
2005-07-04 23:32:44 +00:00
Daniel Pfeiffer
47d4e70988
Switch [Mm]akefile to gmake mode.
2005-06-14 07:33:01 +00:00
Juanma Barranquero
643c985df4
(make-backup-file-name-function): Fix spellings in docstrings.
2005-06-10 14:02:21 +00:00
Richard M. Stallman
e6ca43c89e
(hack-local-variables-confirm): New arg FLAG-TO-CHECK.
...
(hack-one-local-variable, hack-local-variables)
(hack-local-variables-prop-line): Pass that arg.
(locate-file-completion): Doc fix.
2005-06-06 12:31:48 +00:00
Stefan Monnier
f2430a0de4
(convert-standard-filename): Docstring fix.
2005-05-31 13:26:21 +00:00
Daniel Pfeiffer
813731b3dc
(auto-mode-alist): Check GNUmakefile before makefile. Default to makefile-bsdmake-mode on BSD systems.
2005-05-21 02:42:00 +00:00
Juanma Barranquero
027a4b6b3f
Replace string-to-int' by
string-to-number'.
2005-05-16 11:34:49 +00:00
Luc Teirlinck
56b19636f3
(hack-local-variables-confirm): Add STRING argument.
...
Make the function handle non file visiting buffers correctly.
(hack-local-variables-prop-line, hack-local-variables)
(hack-one-local-variable): Use STRING arg of `hack-local-variables-confirm'.
2005-05-14 16:39:49 +00:00
Luc Teirlinck
54005870a2
(interpreter-mode-alist, auto-mode-interpreter-regexp): Doc fixes.
2005-05-14 00:56:30 +00:00
Daniel Pfeiffer
27a7c83f09
(auto-mode-alist, interpreter-mode-alist): Set up the new variants of makefile-mode.
2005-05-13 07:58:44 +00:00
Luc Teirlinck
0fc205c63e
(normal-mode): Extend the scope of the `enable-local-variables'
...
binding to include the `set-auto-mode' call.
(magic-mode-alist): Doc fix.
2005-05-12 23:09:33 +00:00
Stefan Monnier
c3f6aa2088
(executable-find): Move from executable.el. Use locate-file.
2005-05-11 16:24:55 +00:00
Richard M. Stallman
cc45837e57
(read-directory-name): Fix previous change.
...
(hack-local-variables-confirm): New function.
(hack-local-variables-prop-line, hack-local-variables)
(hack-one-local-variable): Use it.
2005-05-10 09:08:28 +00:00
Eli Zaretskii
c7c4bc11b1
(locate-file): Doc fix.
2005-05-06 13:08:15 +00:00
Luc Teirlinck
0776da52f9
(require-final-newline): Make Custom tags consistent
...
with mode-require-final-newline.
(mode-require-final-newline): Doc fix.
2005-05-01 12:56:42 +00:00
Richard M. Stallman
689accb820
(backup-buffer-copy): Use copy-file instead
...
of write-region, and put back the 'excl.
2005-04-30 20:14:32 +00:00
Richard M. Stallman
93d1963d73
(mode-require-final-newline): Fix previous change.
...
(require-final-newline): Fix type label.
2005-04-24 21:29:15 +00:00
Luc Teirlinck
576ceeb302
(mode-require-final-newline): Revert accidental change.
2005-04-24 14:50:42 +00:00
Luc Teirlinck
993746115b
(mode-require-final-newline): Minor doc fix.
2005-04-24 14:45:08 +00:00
Eli Zaretskii
1441edfef9
(mode-require-final-newline): Doc fix.
...
(backup-buffer-copy): Fix last change.
2005-04-24 12:07:15 +00:00
Richard M. Stallman
44dce0fb43
(read-directory-name): Always pass non-nil
...
DEFAULT-FILENAME arg to read-file-name.
(backup-buffer-copy, basic-save-buffer-2): Take care against
writing thru an unexpected existing symlink.
(revert-buffer): In indirect buffer, revert the base buffer.
(magic-mode-alist): Doc fix.
(buffer-stale-function): Doc fix.
(minibuffer-with-setup-hook): Avoid warning.
(mode-require-final-newline): Doc and custom fix.
2005-04-23 16:53:21 +00:00
Andreas Schwab
a35d9075f9
(auto-mode-alist): Handle /etc/sysconfig/*,
...
/etc/permissions.d/* and /etc/aliases.d/*.
2005-04-16 09:00:14 +00:00
Stefan Monnier
f587e30b7f
(set-auto-mode-1): Use line-end-position.
2005-04-10 20:50:48 +00:00
Luc Teirlinck
5e9961be68
(mode-require-final-newline): Make Custom correctly report a nil value
...
and allow to set it to nil via Custom.
Doc fix.
2005-04-01 04:48:39 +00:00
Stefan Monnier
a42e7db0c4
(minibuffer-with-setup-hook): New macro.
...
(find-file-read-args): Use it to avoid let-binding
minibuffer-with-setup-hook (which breaks turning on/off
file-name-shadow-mode while in the prompt).
2005-03-28 19:58:58 +00:00
Eli Zaretskii
e084f8c376
(auto-mode-alist): Add .xpi files.
2005-03-26 16:47:13 +00:00
Thien-Thi Nguyen
126c9dda20
(save-some-buffers): Doc fix.
2005-03-25 13:33:31 +00:00
Juri Linkov
0ee6e7b7c2
(auto-mode-alist): Add comment. Optimize jar/ear/war.
2005-03-19 20:00:36 +00:00
Eli Zaretskii
dc2ab26eb7
(save-buffer): Fix last change.
2005-03-19 15:11:07 +00:00
Eli Zaretskii
9dce96b55a
(save-buffer): Doc fix.
2005-03-19 14:18:22 +00:00
Eli Zaretskii
79d2d2796a
(backup-buffer): If the file's directory is not writable,
...
use copy instead of move to backup the file.
2005-03-19 13:30:10 +00:00
David Ponce
5a146628e5
(hack-local-variables): Do a case-insensitive search
...
for End.
2005-03-18 08:07:55 +00:00
Kim F. Storm
bf247b6ed0
Change release version from 21.4 to 22.1 throughout.
...
Change development version from 21.3.50 to 22.0.50.
2005-02-09 15:50:47 +00:00
Richard M. Stallman
0c2f6ddaa7
(normal-backup-enable-predicate): Return nil for files
...
in /tmp, regardless of temporary-file-directory.
2005-01-29 17:28:00 +00:00
Luc Teirlinck
9bb99df691
(insert-directory): Take care of empty directory, listed without -a switch.
2005-01-23 20:44:12 +00:00
Andreas Schwab
11bd2f9c9b
(insert-directory): Only look for error lines in
...
inserted text. Don't move too far after processing --dired
markers.
2005-01-04 15:25:43 +00:00
Richard M. Stallman
969be0336e
(basic-save-buffer-1): Fix previous change.
2005-01-03 02:42:25 +00:00
Stefan Monnier
50292b6e31
(hack-local-variables): Fix last change.
2005-01-02 18:08:12 +00:00
Stefan Monnier
e5cb26a84c
(hack-local-variables): Cleanup prefix/suffix matching.
2005-01-02 01:20:33 +00:00
Richard M. Stallman
f4206092a2
(require-final-newline): Allow visit' and
visit-save'.
...
(mode-require-final-newline): New option.
(after-find-file): Handle require-final-newline with new values.
(basic-save-buffer): Handle new values of require-final-newline.
2004-12-31 14:48:12 +00:00
Kenichi Handa
47d14b48b3
(revert-buffer): Change
...
explicit-buffer-file-coding-system to
buffer-file-coding-system-explicit.
(basic-save-buffer-1): Likewise.
2004-12-30 23:56:23 +00:00
Kenichi Handa
004f48da21
(basic-save-buffer-1): Set
...
explicit-buffer-file-coding-system to last-coding-system-used.
(revert-buffer): Pay attention to
explicit-buffer-file-coding-system (not buffer-file-coding-system)
on bind coding-system-for-read.
2004-12-30 12:42:11 +00:00
Richard M. Stallman
c4cb00d05e
(hack-local-variables): If there is no PREFIX, set it to "^".
...
Redundant variable PREFIXLEN removed.
2004-12-30 01:49:38 +00:00
Richard M. Stallman
fead94d6b8
Fix typo.
2004-12-27 17:29:34 +00:00