Commit graph

727 commits

Author SHA1 Message Date
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
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Glenn Morris
783bf21001 (file-newest-backup): Use `expand-file-name'. 2003-08-24 15:19:42 +00:00
Markus Rost
b1f1ceb8aa (set-visited-file-name): Use truename for buffer-file-name. 2003-07-27 19:54:09 +00:00
Martin Stjernholm
f209c999c0 (auto-mode-alist, interpreter-mode-alist): Added comments about where
the CC Mode mode entries have gone.
2003-07-09 20:28:23 +00:00
Martin Stjernholm
3aae776cfe (auto-mode-alist, interpreter-mode-alist): Removed entries to CC Mode
modes to avoid duplicates; they are now added with autoload directives
in cc-mode.el.
2003-07-05 20:02:18 +00:00
Juanma Barranquero
259be4e69d (recover-session-finish): Don't give up when there are two consecutive empty
lines in the auto-save-list file.
2003-06-16 21:24:07 +00:00
Juanma Barranquero
e09f3bff95 (after-find-file): Fix arguments of call to `sit-for'. 2003-06-03 23:23:06 +00:00
Richard M. Stallman
0770343057 (after-find-file): Simplify msg if nonexistent directory.
(make-directory): Doc fix.
2003-06-03 11:08:25 +00:00
John Paul Wallington
5d648479ea (large-file-warning-threshold): Add type, groups. 2003-05-31 07:59:33 +00:00
Kenichi Handa
77619f8e69 (recover-file): Bind coding-system-for-read to
auto-save-coding.
2003-05-31 02:00:26 +00:00
Andreas Schwab
0bded0655a (insert-directory): Preserve CR in a file name. 2003-05-24 20:16:33 +00:00
Stefan Monnier
67b6fd1cf0 (file-relative-name): Remove dead code.
Make sure \n in a filename does not confuse us.
2003-05-13 18:39:39 +00:00
Juanma Barranquero
cdec2ad721 (insert-file-contents-literally): Allow it to be called within a magic file name
handler.
2003-05-07 21:58:24 +00:00
Kenichi Handa
e9cc41c898 (revert-buffer): Comment fixed. 2003-05-06 05:08:57 +00:00
Kai Großjohann
c8df97026c (file-relative-name): Recognize "c:/foo" as absolute
file name.  Tiny change from David PONCE <david.ponce@wanadoo.fr>.
2003-04-25 14:14:31 +00:00
Richard M. Stallman
4c91443d07 (view-read-only): Doc fix. 2003-04-24 01:58:49 +00:00
Stefan Monnier
cb211eb2f6 (view-read-only): Move from view.el to files.el. 2003-04-18 13:53:18 +00:00
Stefan Monnier
818286f457 (view-read-only): Don't declare a second time.
(find-file-read-only, find-file-read-only-other-window)
(find-file-read-only-other-frame): Check that file does exist.
(large-file-warning-threshold): New custom.
(find-file-noselect): Use it.
(report-errors): New macro.
(normal-mode): Use it.
(toggle-read-only): Really toggle, even if view-mode is on.
(parse-colon-path): Remove unused `cd-prefix' var.
(make-backup-file-name-1): Remove unused `failed' var.
(basic-save-buffer): Remove unused `tempsetmodes' var.
(basic-save-buffer-2): Remove unused `temp' var.
(insert-directory): Remove unused `available' var.
2003-04-17 21:15:04 +00:00
Stefan Monnier
4e16371510 *** empty log message *** 2003-04-14 20:48:44 +00:00
Richard M. Stallman
92464ae63f (file-chase-links): Fix previous change. 2003-04-09 19:06:19 +00:00
Richard M. Stallman
302fcc98cc (file-chase-links): New arg LIMIT.
After that many iterations, just return what we've got.
2003-04-09 01:34:38 +00:00
Richard M. Stallman
a0e74e7261 (hack-local-variables-prop-line): New arg MODE-ONLY.
(hack-local-variables): When MODE-ONLY is set, pass it along to
hack-local-variables-prop-line.
2003-04-03 23:00:22 +00:00
Kai Großjohann
493c98af4a (file-relative-name): Remove superfluous `and'.
Clarify docstring.  From Lars Hansen.
2003-03-31 16:05:50 +00:00
Kai Großjohann
753ad98890 (file-relative-name): If FILENAME and DIRECTORY are on
different drives (on DOS/Windows) or use different handlers, do
like `expand-file-name' on FILENAME and return an absolute name.
From Lars Hansen <larsh@math.ku.dk>.
2003-03-29 15:31:07 +00:00
Kenichi Handa
9bdbd98e40 (recode-file-name): New function. 2003-03-26 04:42:29 +00:00
John Paul Wallington
194600a8fa * files.el (recover-session): Error if there are no previous
sessions to recover.

* subr.el (posn-col-row): Simplify.

* arc-mode.el (archive-subtype, archive-file-list-start)
(archive-file-list-end, archive-proper-file-start)
(archive-read-only, archive-local-name, archive-mode-map)
(archive-file-name-indent, archive-remote)
(archive-alternate-display, archive-superior-buffer)
(archive-subfile-mode): Doc fixes.
2003-03-14 22:38:46 +00:00
Kenichi Handa
b6647390d9 (insert-directory): Decode by what specified. 2003-03-12 08:02:32 +00:00
Jason Rumney
3f5c8d98d2 (auto-mode-alist): Add .xsl for sgml-mode. 2003-03-11 22:17:21 +00:00
Richard M. Stallman
e3bfcda9ac (revert-buffer): Different error message for reverting a nonexistent file. 2003-02-23 15:04:11 +00:00
Kai Großjohann
5baabf7b78 (abbreviate-file-name): Shorten docstring: variables
are now hyperlinks and `C-h v' need not be mentioned explicitly.
2003-02-22 20:27:51 +00:00
Kai Großjohann
b69a0de98a (abbreviate-file-name): Document removal of
automounter prefixes.  Reported by Lars Hansen.
2003-02-21 16:33:24 +00:00
Kenichi Handa
7702ccc529 (insert-directory): Add workaround for the case that we
can't trust ls's output as to byte positions of filenames.
2003-02-17 06:18:58 +00:00
Markus Rost
37c58ca655 (find-alternate-file): Undo last change. 2003-02-13 19:38:19 +00:00
Juanma Barranquero
5b373bd3f7 (file-truename): Revert change from 2002-11-27. 2003-02-12 14:14:15 +00:00
Juanma Barranquero
c45bc75309 (find-alternate-file): Check whether `dired-directory' is bound. 2003-02-12 09:26:17 +00:00
Richard M. Stallman
7906c044c1 (find-alternate-file): Handle dired-directory like buffer-file-name. 2003-02-04 10:40:14 +00:00
Juanma Barranquero
c60ee5e70f Cygwin support patch. 2003-01-31 15:24:20 +00:00
Kenichi Handa
99f01c91bc (insert-directory): Read the output of "ls" by
no-conversion, and decode it later while preserving
`dired-filename' property.
2003-01-23 05:59:47 +00:00
Richard M. Stallman
b459083cb7 (mode-line-process): Mark as risky. 2003-01-13 08:05:13 +00:00
Richard M. Stallman
7da6bf0059 (backup-buffer): Cope if file-modes returns nil. 2003-01-01 16:55:11 +00:00