Eli Zaretskii
d504040421
(auto-mode-alist): Add .odt (OpenOffice's open document) files. Mention in
...
the doc string the need to sync with auto-coding-alist.
2006-03-11 11:42:58 +00:00
Chong Yidong
af467e285e
* files.el (hack-local-variables-confirm): Don't prompt for ! if
...
enable-local-variables is set to always query, or there is no
savable variable.
2006-03-10 23:22:30 +00:00
Chong Yidong
4299d849d8
* files.el (hack-local-variables-confirm): Set
...
coding-system-for-read to nil before writing to .emacs.
2006-03-08 02:24:47 +00:00
Luc Teirlinck
9f6fdbf0a2
(load-library): Use get-load-suffixes' instead of
load-suffixes'.
2006-02-27 01:53:28 +00:00
Richard M. Stallman
a251756ea6
(enable-local-variables): Doc fix.
2006-02-21 19:49:55 +00:00
Chong Yidong
b9e1451a3d
* files.el: Rearrange functions and variables in the file local
...
variables section.
2006-02-17 15:33:22 +00:00
Reiner Steib
8086a70c32
Add truncate-lines, ispell-check-comments and
...
ispell-local-dictionary as safe local variables.
2006-02-17 13:42:17 +00:00
Chong Yidong
0a158521c5
* files.el (hack-local-variables-confirm): Kill temp buffer after use.
2006-02-15 01:32:50 +00:00
Chong Yidong
42078bb225
* files.el (hack-local-variables-confirm): Allow scrolling if the
...
file variable list is too long.
2006-02-15 01:21:31 +00:00
Chong Yidong
d450f2a250
* files.el (hack-local-variables): Remove ignored variables before
...
checking if any variables need setting.
2006-02-14 19:54:25 +00:00
Chong Yidong
dd60bebe07
* files.el (hack-local-variables): Only set results if they
...
exist.
2006-02-14 03:47:00 +00:00
Chong Yidong
5a6c1d871e
* files.el (safe-local-variable-values): New option.
...
(hack-local-variables-prop-line): Return a list of variable-value
pairs if MODE-ONLY is non-nil.
(hack-local-variables): Construct list of variable-value pairs,
and apply or reject them in one go. Ask for confirmation if
variables are not known safe.
(hack-local-variables-confirm): Complete rewrite. Support
`safe-local-variable-values'.
(enable-local-variables): Update docstring to reflect new
behavior.
(ignored-local-variables): Ignore ignored-local-variables and
safe-local-variable-values.
(safe-local-variable-p): New function.
(risky-local-variable-p): `safe-local-variable' property check
moved to safe-local-variable-p.
(hack-one-local-variable): Checks moved to hack-local-variables.
(byte-compile-dynamic, c-basic-offset, c-file-style,
c-indent-level, comment-column, fill-column, fill-prefix,
indent-tabs-mode, kept-new-versions, no-byte-compile,
no-update-autoloads, outline-regexp, page-delimiter,
paragraph-start, paragraph-separate, sentence-end,
sentence-end-double-space tab-width, version-control): Add
`safe-local-variable' property.
* find-lisp.el: Delete nonexistent `autocompile' file variable.
* icomplete.el, play/landmark.el: Change nonexistent
`outline-layout' file variable to `allout-layout'.
2006-02-14 01:21:31 +00:00
Richard M. Stallman
a52152f859
(magic-mode-alist): Don't use `\\s ' in regexps.
2006-02-12 20:30:28 +00:00
Eli Zaretskii
518dc5be4e
(revert-buffer, recover-file): Replace buffer-read-only with inhibit-read-only. Suggested by Stefan Monnier.
...
(revert-buffer): Let insert-file-contents discard buffer-undo-list. Simplify
code.
(find-file, find-file-existing, revert-buffer): Doc-string fixes.
2006-02-11 18:42:56 +00:00
Thien-Thi Nguyen
aaef169dc6
Update years in copyright notice; nfc.
2006-02-06 15:23:23 +00:00
Kim F. Storm
5cce080e95
(magic-mode-regexp-match-limit): New defvar.
...
(set-auto-mode): Use it to limit magic-mode-alist matching.
2006-02-04 23:33:53 +00:00
Richard M. Stallman
f36d46caff
(risky-local-variable-p): Follow var aliases.
2006-01-26 17:55:04 +00:00
Masatake YAMATO
3968c89ffe
Added makefile-imake-mode.
2006-01-17 18:11:53 +00:00
Eli Zaretskii
0133dab9be
(basic-save-buffer-2): If backing-up failed, reset buffer-backed-up to nil.
2006-01-06 11:55:35 +00:00
Richard M. Stallman
1af5710156
(set-visited-file-name): Doc fix.
2005-12-27 22:54:13 +00:00
Eli Zaretskii
ec6328a24a
(set-auto-mode): If search for mode specification failed, look for an
...
interpreter specified on the first line.
2005-12-16 15:44:39 +00:00
Reiner Steib
e8f4db18e2
* files.el (save-buffer):
...
* international/ucs-tables.el (ucs-set-table-for-input):
* mail/mail-extr.el (mail-extract-address-components):
* mail/sendmail.el (mail-mode): Reformat doc string.
2005-12-09 16:44:18 +00:00
Bill Wohler
4af6c01113
(auto-mode-alist): Remove mh-letter-mode. Unnecessary, and causes
...
problems with non-MH users (such as Gnus users).
2005-12-08 01:26:14 +00:00
Thien-Thi Nguyen
1be0210d3a
(file-relative-name): Doc fix.
2005-11-26 15:52:10 +00:00
Stefan Monnier
8e5c7b90ee
(write-file): Refresh VC status.
2005-11-14 22:19:28 +00:00
Richard M. Stallman
879bae91ca
(find-file-noselect): Use %d to format large file size.
2005-10-28 16:20:12 +00:00
Michael Albinus
9bc260cfb7
* files.el (directory-listing-before-filename-regexp): New
...
defvar. Replaces `dired-move-to-filename-regexp' from dired.el.
* dired.el (dired-move-to-filename-regexp): Removed. All
occurences replaced by `directory-listing-before-filename-regexp'.
* dired-x.el, locate.el, vc.el: Replace
`dired-move-to-filename-regexp' by
`directory-listing-before-filename-regexp'. In vc.el it is
overwritten locally; maybe this can be handled in files.el too.
* net/ange-ftp.el (ange-ftp-date-regexp): Removed. All occurences
replaced by `directory-listing-before-filename-regexp'.
* faq.texi (Bugs and problems): Replace
`dired-move-to-filename-regexp' by
`directory-listing-before-filename-regexp'.
2005-10-23 12:17:28 +00:00
Richard M. Stallman
9e8bb7f72f
(make-temp-file): Moved from subr.el.
2005-10-22 15:34:37 +00:00
Deepak Goel
8a26c16552
Message format spec fixes (1)
2005-09-18 12:25:02 +00:00
Stefan Monnier
344f111150
(normal-mode): Check boundness of font-lock-keywords.
2005-09-12 15:05:24 +00:00
Juanma Barranquero
26138670c2
(font-lock-keywords): Add defvar.
2005-08-31 13:49:25 +00:00
Michael Albinus
c1105d052e
Make `make-auto-save-file-name' a magic operation.
2005-08-30 22:41:02 +00:00
Richard M. Stallman
9e01e6da53
(risky-local-variable-p): Match -predicates' and
-commands.
2005-08-30 10:36:17 +00:00
Richard M. Stallman
6e86be0b47
(normal-mode): If font lock is on, turn it off and on.
2005-08-20 21:50:48 +00:00
Richard M. Stallman
9f01a773d0
(interpreter-mode-alist): Doc fix.
2005-08-15 02:05:01 +00:00
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
Richard M. Stallman
a1b0c2a764
(buffer-save-without-query): New var (buffer-local).
...
(save-some-buffers): Save those buffers first, w/o asking.
(insert-directory-ls-version): New variable.
(insert-directory): When ls returns an error, test the version
number to decide what the return code means.
With --dired output format, detect and distinguish lines
that are really error messages.
(insert-directory-adj-pos): New function.
2004-12-27 17:18:28 +00:00
Juri Linkov
a9d6a617af
(find-file-other-window, find-file-other-frame):
...
Add the first buffer to the returned value to return the complete
list of all visited buffers.
(find-file-read-only, find-file-read-only-other-window)
(find-file-read-only-other-frame): Use nil for `mustmatch' arg of
`find-file-read-args'. Signal an error about non-existent file
only if file name doesn't contain wildcards. Toggle read-only in
all visited buffers.
(find-alternate-file, find-alternate-file-other-window):
Add optional arg `wildcards'. Doc fix. Set `wildcards' to t when
called interactively. Pass arg `wildcards' to other functions.
(find-file-noselect): Doc fix.
2004-12-13 05:08:00 +00:00
Thien-Thi Nguyen
00daa381bc
(auto-mode-alist): Map .com to DCL mode.
2004-12-10 16:40:44 +00:00
Daniel Pfeiffer
9607552590
acpid files under /etc
2004-12-01 09:47:18 +00:00
Daniel Pfeiffer
08adf84e8b
(auto-mode-alist): Add conf-ppd-mode and inittab.
2004-11-30 23:31:49 +00:00
Luc Teirlinck
a576d8e299
(convert-standard-filename): Doc fix.
2004-11-14 23:24:14 +00:00
Daniel Pfeiffer
b14f1885d1
(auto-mode-alist): handle .gtkrc, and under /etc passwd, group, shadow, default/* and pam.d/*.
2004-11-14 18:11:57 +00:00
Juri Linkov
811cab8651
(magic-mode-alist): Use optimization for SGML mode too.
...
(set-auto-mode): Doc fix. Remove unused variable `xml'.
2004-11-11 21:42:32 +00:00
Stefan Monnier
32a0479a9d
(magic-mode-alist): Reduce backtracking in the HTML regexp.
2004-11-11 04:52:27 +00:00
Daniel Pfeiffer
55e19d0876
Also do /etc/magic, hosts.allow, hosts.deny etc.
2004-11-10 09:53:24 +00:00
Daniel Pfeiffer
80174d35b9
(auto-mode-alist, magic-mode-alist): Use conf-mode
2004-11-10 00:39:54 +00:00
Daniel Pfeiffer
df4d061346
(set-auto-mode): Don't get error after setting -*-mode-*-.
2004-11-04 20:25:08 +00:00
Richard M. Stallman
89bf74f828
Comment change.
2004-11-04 10:04:16 +00:00
Daniel Pfeiffer
4ac1d37a80
(xml-based-modes): Delete var.
...
(magic-mode-alist): New var.
(set-auto-mode): Use it.
2004-11-03 21:44:49 +00:00
Jan Djärv
46bfc73bed
* files.el (find-file-existing): New function.
...
* menu-bar.el (menu-bar-files-menu): Make "Open File..." call
find-file-existing. Add "New File..." that calls find-file.
* dired.el (dired-read-dir-and-switches): Call read-driectory-name
instead of read-file-name.
2004-11-02 07:57:53 +00:00
Kim F. Storm
3467488ee7
(set-auto-mode-0): Don't rely on dynamic binding of
...
keep-mode-if-same variable. Add it as optional arg instead.
(set-auto-mode): Call set-auto-mode-0 with keep-mode-if-same.
2004-11-01 23:16:42 +00:00
John Paul Wallington
bb8eaf6705
(large-file-warning-threshold): Add :version keyword.
...
(kill-some-buffers): Doc fix.
2004-11-01 07:56:17 +00:00
John Paul Wallington
8a9cdb8db4
(set-auto-mode): Call `throw' correctly.
2004-10-28 10:29:50 +00:00
Daniel Pfeiffer
521cf174c3
(set-auto-mode-0): New function.
...
(set-auto-mode): Use it to handle aliased modes and to be consistent between C-x C-f and C-x C-w.
2004-10-28 06:09:55 +00:00
Daniel Pfeiffer
9e6f54198a
Tack language suffix onto html, and make C-x C-w find the mode in the same way as C-x C-f.
2004-10-27 21:44:35 +00:00
Daniel Pfeiffer
396b39cf4f
Set xml-mode also if no mode found from file name.
2004-10-27 10:27:46 +00:00
Daniel Pfeiffer
bbc6751622
(auto-mode-alist): Add pod, js, xbm and xpm and group trivial variants to shorten the list.
...
(xml-based-modes): New var.
(set-auto-mode): Give interpreter-mode-alist or <?xml or <!DOCTYPE declaration higher priority than auto-mode-alist.
2004-10-26 21:44:20 +00:00
Stefan Monnier
52e281e87a
(insert-directory): Obey --dired even with symlinks.
2004-09-25 15:29:35 +00:00
Richard M. Stallman
e0b2a2d9af
(enable-local-eval): Doc fix.
...
(hack-local-variables): Copy the variables list
to another buffer, strip prefixes and suffixes there, then read.
(enable-local-eval): Doc fix.
(ignored-local-variables): Initialize to nil.
(risky-local-variable-p): Don't check ignored-local-variables here.
(hack-one-local-variable): Ignore var if in ignored-local-variables.
2004-09-20 16:12:57 +00:00
Simon Josefsson
0904599e09
files.el (auto-mode-alist): Map .soa and .zone to dns-mode.
...
textmodes/dns-mode.el: Add.
2004-09-14 11:09:35 +00:00
Luc Teirlinck
839857c7bd
(switch-to-buffer-other-window): Doc fix.
2004-07-11 02:18:15 +00:00
Kai Großjohann
3f78877397
* net/ange-ftp.el (ange-ftp-file-remote-p): New return value,
...
according to new documentation of `file-remote-p'.
* files.el (file-remote-p): Fix doc to say that return value is
identification of remote system, if not nil.
(file-relative-name): Use new return value of `file-remote-p'.
2004-06-26 14:41:13 +00:00
Lars Hansen
7dd11b370c
(write-contents-functions): Doc fix.
2004-06-23 14:38:19 +00:00
Juanma Barranquero
c5994cfa0d
(parse-colon-path, cd): Mention in docstring that the path separator is
...
colon in GNU-like systems.
2004-06-16 23:56:46 +00:00
Luc Teirlinck
c90dcdd560
(buffer-stale-function): Add hyperlink to emacs-xtra manual to docstring.
2004-06-16 01:34:15 +00:00
Luc Teirlinck
25f6295eb3
(before-save-hook): Add `time-stamp' to the options.
2004-06-13 21:32:14 +00:00
Juanma Barranquero
ae135939c9
(parse-colon-path, cd): Doc fixes (refer to `path-separator', not colon).
2004-06-11 01:02:51 +00:00
Juanma Barranquero
915b0bf0ab
Rework docstring (wording by Eli Zaretskii and Kai Grossjohann).
2004-05-30 21:21:42 +00:00
Richard M. Stallman
91174d63b4
(find-file): Doc fix.
2004-05-30 13:34:19 +00:00
Michael Albinus
04621aaa0c
(file-remote-p): Apply file name handler for operation
...
`file-remote-p'. It isn' a property any longer.
(file-relative-name): `fh' and `fd' get the required value via
`find-file-name-handler' already.
2004-05-29 22:42:06 +00:00
Luc Teirlinck
0a11c70bb2
(find-file-noselect-1): Do not bind `inhibit-read-only' to t during
...
execution of `find-file-not-found-functions'.
2004-05-29 01:54:11 +00:00
Michael Albinus
ae3b29834c
* files.el (file-name-non-special): There are more operations
...
which need handling: `find-backup-file-name',
`insert-file-contents', `verify-visited-file-modtime',
`write-region'. Rename t value of method to `add'. Add new
methods `quote' and `unquote-then-quote' to file-arg-indices.
2004-05-27 20:23:31 +00:00
Luc Teirlinck
74dca654a3
(find-file-noselect-1): Fix bug introduced by Revision 1.694.
...
As a side effect, `inhibit-read-only' is again, by default, t during
execution of `find-file-not-found-functions'.
(insert-directory): Check that lines were really inserted by
the --dired switch, before erasing them.
2004-05-25 18:51:07 +00:00
Richard M. Stallman
6750c85288
(file-name-non-special): Allow t in file-arg-indices
...
to mean requote the return value. Use `identity' as an element
rather than as the whole value.
2004-05-22 07:40:41 +00:00
Luc Teirlinck
4edcfd1772
(find-file-noselect-1): Limit the scope of the
...
`inhibit-read-only' binding. Make sure that `inhibit-read-only'
is, by default, nil during the execution of
`find-file-not-found-functions' and `find-file-hook'.
2004-05-20 23:32:27 +00:00
Stefan Monnier
b1e5937ca1
(auto-save-file-name-transforms): Make sure ange-ftp temp
...
files files don't contain an accidental additional /.
2004-05-19 00:30:43 +00:00
Juanma Barranquero
b9963e32a2
(file-truename): Don't mention COUNTER and PREV-DIRS arguments in the
...
docstring, they're used only in recursive calls.
2004-05-13 19:51:57 +00:00
Juanma Barranquero
814af837a2
(set-visited-file-name, file-expand-wildcards): Fix docstring.
2004-05-11 17:32:44 +00:00
Juri Linkov
bdd9ab6e68
(confirm-kill-emacs): Change group from top-level emacs' to
convenience'.
2004-05-01 03:51:49 +00:00
Richard M. Stallman
f2440e42fa
(locate-file-completion): Handle nil in path-and-suffixes.
...
(file-truename): Expand all ~ constructs directly.
(insert-directory): Delete any error msg output by the
`insert-directory-program'.
2004-04-17 19:58:19 +00:00
Luc Teirlinck
60ce7e3e04
(insert-directory): Minor whitespace fix in docstring.
2004-04-17 01:46:53 +00:00
Luc Teirlinck
8b0b693286
(buffer-stale-function): Doc change.
2004-04-01 01:20:20 +00:00
Luc Teirlinck
4f8453aeb3
(buffer-stale-function): Minor doc fix.
2004-03-27 04:05:23 +00:00
Luc Teirlinck
0e3dc638b7
(buffer-stale-function): Doc fix.
2004-03-27 03:54:41 +00:00
Luc Teirlinck
b0dc9757a5
(buffer-stale-function): Moved here from autorevert.el.
2004-03-27 01:08:15 +00:00
Stefan Monnier
3f7d6528a2
(file-relative-name): Fix last change.
2004-03-26 16:21:03 +00:00
Stefan Monnier
7c64272b8c
(file-relative-name): Use compare-strings.
2004-03-26 15:04:35 +00:00
Luc Teirlinck
8f8607bebf
(insert-directory): Fix bug if SWITCHES is a list.
2004-03-21 04:40:38 +00:00
Richard M. Stallman
cf44b9b797
(switch-to-buffer-other-window): Bind
...
same-window-buffer-names and same-window-regexps to nil.
(switch-to-buffer-other-frame): Likewise.
2004-03-04 16:49:23 +00:00
John Paul Wallington
21575d922f
(auto-mode-alist): Fix .scm, .stk, .ss, .sch entry.
2004-02-04 08:21:48 +00:00
Luc Teirlinck
25802eac0d
(read-directory-name): Adapt the docstring to recent change in Fread_file_name.
2004-01-31 04:38:32 +00:00
Stefan Monnier
074eb6acbe
Docstring fix.
2004-01-14 14:20:45 +00:00
Luc Teirlinck
0eb0202fe2
(write-file-functions, write-contents-functions): Clarify docstrings.
2004-01-07 20:51:14 +00:00
Simon Josefsson
3c3b81d190
(before-save-hook): Add.
...
(basic-save-buffer): Use before-save-hook.
2004-01-05 18:17:41 +00:00
Eli Zaretskii
1550204223
* progmodes/idlwave.el (idlwave-make-tags):
...
* textmodes/flyspell.el (flyspell-large-region):.
* progmodes/make-mode.el (makefile-query-by-make-minus-q):
* emulation/viper-util.el (viper-glob-unix-files):
* emacs-lisp/shadow.el (shadow-same-file-or-nonexistent):
* man.el (Man-init-defvars):
* jka-compr.el (jka-compr-call-process):
* files.el (get-free-disk-space,insert-directory):
* ediff-ptch.el (ediff-test-patch-utility):
* ediff-diff.el (ediff-test-utility):
* dired-aux.el (dired-check-process):
* mail/sendmail.el (sendmail-send-it): Don't use = or zerop to
test the return value of call-process, because it can be a string.
2004-01-03 12:12:01 +00:00
Richard M. Stallman
147fbf703d
(backup-buffer-copy): If MODES is nil, don't set modes.
2003-12-29 19:14:03 +00:00
Eli Zaretskii
243a3ae080
(kill-some-buffers): Doc fix.
2003-12-29 14:04:31 +00:00
Luc Teirlinck
40ebe9bdd7
(risky-local-variable-p): Make second argument optional.
2003-11-05 04:06:27 +00:00
Dave Love
564af25832
(find-file-hook): Customize.
...
(auto-mode-alist): Add .stk, .ss, .sch, .orig.
2003-10-06 16:29:50 +00:00
Lute Kamstra
cfdd394e98
Fix typo.
2003-10-02 09:44:01 +00:00