1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-13 16:38:14 +00:00
Commit Graph

347 Commits

Author SHA1 Message Date
Richard M. Stallman
fb145562db (file-truename): If name has no dir, use default-directory. 1994-10-02 20:10:39 +00:00
Richard M. Stallman
7a410cb5fb (save-buffers-kill-emacs): Fix previous change. 1994-10-01 21:07:33 +00:00
Richard M. Stallman
a4f5efdcea (save-buffers-kill-emacs): Use run-hook-with-args-until-failure.
(find-file-noselect): Use run-hook-with-args-until-success.
(after-find-file): Use run-hooks for find-file-hooks.
(basic-save-buffer): Use run-hook-with-args-until-success.
1994-09-30 20:47:37 +00:00
Richard M. Stallman
6672c42bd1 (hack-one-local-variable): Support safe-local-variable property.
(compile-command): Add safe-local-variable property.
1994-09-27 22:59:50 +00:00
Richard M. Stallman
b9952c2900 (auto-mode-alist): Handle ada-mode and icon-mode. 1994-09-24 05:02:49 +00:00
Richard M. Stallman
2aa8cc2dc5 (find-alternate-file): Confirm killing buffer only if it is visiting a file. 1994-09-24 01:27:46 +00:00
Richard M. Stallman
cb0cd91167 (file-ownership-preserved-p): New function. 1994-09-22 04:15:33 +00:00
Richard M. Stallman
6782610c40 (basic-save-buffer-1): If writing temp file fails
or a precious file, restore the old visited file modtime.
1994-09-20 04:27:40 +00:00
Richard M. Stallman
20b5d24c26 (file-name-sans-extension): New function. 1994-09-19 04:32:41 +00:00
Richard M. Stallman
f7d786d0cb (after-find-file-from-revert-buffer): Add defvar. 1994-08-28 07:37:42 +00:00
Richard M. Stallman
d7e133f709 (find-file-noselect): Improve "file changed" message. 1994-08-25 00:05:36 +00:00
Richard M. Stallman
e0ab8879e1 (after-find-file): New arg renamed to after-find-file-from-revert-buffer. 1994-08-17 21:46:05 +00:00
Richard M. Stallman
6bac44b29c (after-find-file): New arg from-revert-buffer.
(revert-buffer): Pass t for that.
1994-08-17 21:42:40 +00:00
Richard M. Stallman
b5a8e0fc22 (save-buffer): Unconditionally make a backup with 2 or
3 C-u's even if make-backup-files is nil.
1994-08-06 03:19:35 +00:00
Richard M. Stallman
b505828b09 (file-truename): Temporarily get rid of the
ange-ftp completion handler.
1994-07-29 03:45:49 +00:00
Richard M. Stallman
f4a0f59b01 (set-auto-mode): Shorten scope of case-fold-search binding.
(cd-absolute): Call file-name-as-directory first thing.

(basic-save-buffer-1): Ignore file-precious-flag
if the file's dir is not writable.
1994-07-27 18:55:38 +00:00
Richard M. Stallman
d98b741dea (rmail-output-file-alist): Mark it risky. 1994-07-14 22:48:40 +00:00
Richard M. Stallman
eb51e66563 (insert-directory): Fix previous change. 1994-07-13 04:03:09 +00:00
Richard M. Stallman
9700caaf43 (insert-directory): Fix prev change. 1994-07-12 07:08:31 +00:00
Richard M. Stallman
727d277d52 (insert-directory): Allow list for SWITCHES.
Also split up a string containing separate options.
1994-07-12 00:35:27 +00:00
Richard M. Stallman
c7e6266013 (hack-one-local-variable): Check for root using user-uid. 1994-07-08 21:26:56 +00:00
Richard M. Stallman
9afa8bf7f4 (outline-level): Mark it risky. 1994-07-07 20:34:55 +00:00
Richard M. Stallman
b0ffcc0de8 (process-environment, exec-path, load-path,exec-directory):
Mark these as risky.
(hack-one-local-variable): Treat vars ending in -program and -command as risky.
1994-07-07 16:25:53 +00:00
Richard M. Stallman
336b7f4160 (switch-to-buffer-other-frame): Raise the frame. 1994-07-07 05:07:02 +00:00
Richard M. Stallman
0973d78b8e (revert-buffer-function): Doc fix. 1994-07-06 23:03:47 +00:00
Richard M. Stallman
74b9c2afd8 (auto-save-mode): If autosave is off because buffer has
shrunk, then toggling should turn it on.
1994-07-06 21:41:47 +00:00
Richard M. Stallman
de7d5e1ba4 (delete-old-versions): Var renamed from trim-versions-without-asking. 1994-07-06 21:34:31 +00:00
Richard M. Stallman
4826e97fbc (set-visited-file-name): Avoid crash if TRUENAME is nil. 1994-07-05 22:36:54 +00:00
Richard M. Stallman
05ef1cdab9 (file-truename): Use iteration when possible.
Avoid recalculating the same truename twice in one invocation.
Error check for infinite link loop.

(debugger): Make it a risky-local-variable.
1994-07-05 20:23:13 +00:00
Richard M. Stallman
a522e5bffe (set-visited-file-name): Handle find-file-visit-truename
early on, before we deal with lock files.
1994-07-05 07:23:18 +00:00
Richard M. Stallman
d1739e52d5 (delete-auto-save-files): Doc fix.
(insert-directory): Don't quote braces for shell.
1994-06-21 17:46:53 +00:00
Richard M. Stallman
0a1763b408 (make-auto-save-file-name): Convert slashes to \! and double the backslashes. 1994-06-17 21:42:34 +00:00
Karl Heuer
7d483e8c84 (make-auto-save-file-name): Don't use slashes in autosave name for a non-file
buffer.
1994-06-15 02:43:39 +00:00
Richard M. Stallman
c870ab8eb3 (insert-directory): Use expanded file name to find handler. 1994-05-28 12:33:08 +00:00
Richard M. Stallman
65d5c6de9f (kill-emacs-query-functions): Doc fix. 1994-05-26 01:11:06 +00:00
Richard M. Stallman
f6fa3ee3c5 Add more risky-local-variable properties. 1994-05-25 20:43:21 +00:00
Richard M. Stallman
e3998da17a (interpreter-mode-alist): Add wishx, tclsh.
Delete form, scope, shell.
(set-auto-mode): Don't get confused by args after #! shell name.
1994-05-23 09:48:37 +00:00
Richard M. Stallman
dc417415cb (hack-one-local-variable): Check properly for `defun. 1994-05-23 04:55:57 +00:00
Richard M. Stallman
288201bd91 (abbreviate-file-name): Add special case for ms-dos.
Delete code that checked for abbreviated-home-dir ending in /;
it never did anything.
1994-05-10 21:00:32 +00:00
Karl Heuer
f01de0db5a (file-chase-links): Delete redundant slashes.
Match `..' only at start of string.
1994-05-10 06:21:55 +00:00
Richard M. Stallman
327bebe804 (find-file-noselect): Suppress same-file warning if
both filenames would print identically.
1994-05-09 22:54:09 +00:00
Richard M. Stallman
d0bd3513be (hack-one-local-variable): Silently execute eval
if the form is a put of a harmless property with harmless args.
1994-04-30 04:29:23 +00:00
Karl Heuer
55fbbe8e34 (revert-buffer): widen before replacing text. 1994-04-30 02:41:03 +00:00
Richard M. Stallman
57e81f57b9 (ange-ftp-completion-hook-function): Use new inhibit vars. 1994-04-27 23:43:46 +00:00
Karl Heuer
7c4b8f8c81 Delete misplaced comment. 1994-04-23 02:15:05 +00:00
Karl Heuer
6eaebaa278 Pass operation to find-file-name-handler. 1994-04-22 23:59:24 +00:00
Karl Heuer
425c7aa85c (basic-save-buffer): if selective-display is t, file may end in CR instead of
LF.
1994-04-15 22:39:31 +00:00
Richard M. Stallman
d49ab5a0e7 (find-buffer-visiting): Don't check buffer-file-number
unless buffer-file-name is non-nil.
1994-04-14 02:27:36 +00:00
Richard M. Stallman
45fb3bb841 (inhibit-first-line-modes-regexps): Renamed from
inhibit-local-variables-regexps.
1994-04-09 22:27:31 +00:00
Richard M. Stallman
be0218a89c (hack-one-local-variable): Test for risky-local-variable property.
Put such properties on some variables, including minor-mode-map-alist.
1994-04-07 19:03:17 +00:00
Richard M. Stallman
37fd966693 (hack-one-local-variable): Treat varnames ending in -form or -forms like eval. 1994-04-07 17:44:17 +00:00
Richard M. Stallman
0b7f1ef2c9 (auto-save-mode): Don't let buffer-saved-size stay negative. 1994-04-05 03:49:42 +00:00
Richard M. Stallman
399f8dd645 (version-control): Doc fix. 1994-04-04 18:33:01 +00:00
Karl Heuer
13a661808e (hack-local-variables-prop-line): Search two lines if "#!".
Ignore keyword `mode', since it's already been handled.
1994-03-29 07:08:23 +00:00
Richard M. Stallman
87d26afc28 (basic-save-buffer-1): New subroutine, broken out of basic-save-buffer.
(basic-save-buffer): Use basic-save-buffer-1.
1994-03-29 06:59:50 +00:00
Richard M. Stallman
ee81c9594f (set-visited-file-name): Kill local var vc-mode.
Make buffer writable if was read-only due to vc.
1994-03-27 19:49:47 +00:00
Richard M. Stallman
6e2dc7cb71 (insert-directory): Quote special shell chars,
aside from wildcards and quoting characters.
1994-03-21 18:17:27 +00:00
Karl Heuer
57a0155c42 Fix typo in comment. 1994-03-13 21:40:11 +00:00
Karl Heuer
26add1bf46 Don't use triple-hyphen in a character class. 1994-03-12 00:23:12 +00:00
Richard M. Stallman
181c830f75 (find-buffer-visiting): Don't compare NUMBER if it is nil. 1994-03-10 17:23:56 +00:00
Karl Heuer
0f933cf6b2 (find-buffer-visiting): Fix typo in previous change. 1994-03-09 06:20:32 +00:00
Karl Heuer
138c44f6a3 (find-buffer-visiting): New function to look for another buffer visiting the
same inode.
(find-file-noselect): Use it instead of inline code.
1994-03-09 00:23:30 +00:00
Karl Heuer
7d806fcdab (buffer-file-truename): Doc fix. 1994-03-03 17:28:52 +00:00
Karl Heuer
6a8f71e7eb (set-visited-file-name): Unlock the file if setting the visited file name to
nil.
1994-02-25 03:24:15 +00:00
Richard M. Stallman
88902b356e (kill-emacs-query-functions): New variable.
(save-buffers-kill-emacs): Use it.
1994-02-24 04:00:41 +00:00
Richard M. Stallman
f9456b0a5b (revert-buffer): Use new insert-file-contents replace arg. 1994-02-17 08:19:58 +00:00
Noah Friedman
8db739de39 interpreter-mode-alist: Add modes for awk, gawk, and scm scripts. 1994-02-17 05:52:56 +00:00
Richard M. Stallman
f7da6740ca (recover-file): Call auto-save-file-name-p correctly. 1994-02-16 18:23:16 +00:00
Richard M. Stallman
c907d15634 (interpreter-mode-alist): New variable.
(set-auto-mode): Use that for chosing a mode.
1994-02-16 07:06:10 +00:00
Richard M. Stallman
7ca1d90327 (auto-mode-alist): Add elt for .tcl files.
Move texinfo elts up.
1994-02-06 19:33:18 +00:00
Karl Heuer
b1fa544fda Fix file-relative-name to allow for ancestors as well as descendants. 1994-02-02 04:39:22 +00:00
Richard M. Stallman
e70991d420 (auto-mode-alist): Add .p and .pas for pascal-mode. 1994-02-01 17:46:53 +00:00
Richard M. Stallman
fc51b25190 (revert-buffer): Doc fix. 1994-02-01 03:46:09 +00:00
Karl Heuer
4fbf62eea8 (revert-buffer): reposition after-revert-hook, and add before-revert-hook. 1994-02-01 01:31:37 +00:00
Richard M. Stallman
fb6208a6aa (revert-buffer): Run after-revert-hook. 1994-01-18 19:13:11 +00:00
Roland McGrath
18cf95028f Fix typo (extra paren). 1994-01-17 05:24:29 +00:00
Richard M. Stallman
81860e46eb (set-auto-mode): Handle (REGEXP FUNCTION t) elements. 1994-01-15 15:55:59 +00:00
Richard M. Stallman
ca33ccb548 (abbreviate-file-name): Don't convert / to ~/ when the home dir is /. 1994-01-14 18:06:40 +00:00
Richard M. Stallman
9bb004f619 (auto-mode-alist): Treat changelo like ChangeLog. 1994-01-06 11:45:53 +00:00
Richard M. Stallman
bb15791002 [ms-dos] (make-backup-file-name, backup-file-name-p):
Use "*.bak" as backup file name.
(user-init-file): new variable.
1994-01-06 04:30:52 +00:00
Richard M. Stallman
5625c2fc22 (save-some-buffers): Fix previous change. 1994-01-01 06:21:59 +00:00
Richard M. Stallman
93c2b1e794 (save-some-buffers): Reinsert lost code to save abbrevs. 1993-12-31 12:50:12 +00:00
Richard M. Stallman
fea504fb08 (hack-one-local-variable): Treat file-name-handler-alist
kand after-load-alist like eval.
1993-12-30 10:51:33 +00:00
Richard M. Stallman
6f93191964 (hack-local-variables-prop-line): If we can't switch-to-buffer
in selected window, try another window, then a new frame.

(set-visited-file-name): Don't rename-buffer if buffer
already has the desired name.

(insert-file): Add * to interactive spec.
1993-12-23 03:49:15 +00:00
Richard M. Stallman
7a5a26a68f (find-backup-file-name): Don't fatal-error on
directories that are hard to read; fall back on ~/%backup%.

(file-truename): Treat ~USER like just ~.
1993-11-10 20:41:17 +00:00
Richard M. Stallman
292297c66e (abbreviated-home-dir): Doc fix. 1993-10-12 20:57:36 +00:00
Richard M. Stallman
51de78c187 (hack-local-variables): If buffer has no file, display its buffer name. 1993-10-09 03:46:57 +00:00
Brian Fox
b19f1da483 (local-write-file-hooks): Make this variable buffer-local. 1993-09-21 07:23:26 +00:00
Richard M. Stallman
65151a1bd4 (directory-abbrev-alist): Doc fix. 1993-09-17 17:51:40 +00:00
Richard M. Stallman
9fa7bfe524 (hack-local-variables-prop-line): Ignore any specification
for `mode:', since set-auto-mode has already handled it.
(set-auto-mode): Clean up.  Handle more than one `mode:' spec in -*-.
1993-09-11 10:45:25 +00:00
Richard M. Stallman
455d9d28a9 (find-file-noselect): If a find-file-not-found-hook succeeds, clear `error'. 1993-08-15 05:47:03 +00:00
Richard M. Stallman
f862241d81 (backup-inhibited): Doc fix. 1993-08-13 01:17:59 +00:00
Richard M. Stallman
ff78d52034 (after-find-file): Improve warning message about
existing file that can't be read.
1993-08-06 18:03:10 +00:00
Richard M. Stallman
2943f983f2 (basic-save-buffer): When we read a file name,
use set-visited-file-name to put it in.
1993-07-31 06:40:04 +00:00
Richard M. Stallman
a9fa0bd5a6 (insert-directory): Make sure default-directory is absolute.
(set-auto-mode): Fix backwards test involving inhibit-local-variables-regexps.
1993-07-26 05:55:40 +00:00
Richard M. Stallman
c52e4104a1 (parse-colon-path): Really make nil, not ".", for empty path element. 1993-07-22 05:34:53 +00:00
Richard M. Stallman
e33e80e4a1 (parse-colon-path): Turn empty substring into nil. 1993-07-20 22:04:53 +00:00
Richard M. Stallman
93fe0a356f (ange-ftp-completion-hook-function): New function. 1993-07-20 07:12:30 +00:00
Jim Blandy
a18b7c814d * files.el (insert-directory): Doc fix.
* files.el (insert-directory): If FULL-DIRECTORY-P is non-nil,
	add "." component to the end of the path, so that if file is a
	symlink, we get the contents of the directory, not the symlink
	itself.
1993-07-18 06:40:09 +00:00
Richard M. Stallman
1bf3d47551 (basic-save-buffer): Use after-save-hook. 1993-07-08 20:51:51 +00:00
Richard M. Stallman
77fb6aed82 (file-relative-name): If we use default-directory,
call expand-file-name anyway.
1993-07-08 03:04:52 +00:00
Roland McGrath
1e377362be (basic-save-buffer): Invoke after-save-buffer-hook, not after-save-hook. 1993-07-07 20:25:48 +00:00
Roland McGrath
b3c4423b20 (cd-absolute): Use abbreviate-file-name on expansion of DIR. 1993-07-07 06:26:31 +00:00
Roland McGrath
b4e5a3c7c4 (basic-save-buffer): Invoke after-save-hook, not after-save-hooks. 1993-07-07 05:12:29 +00:00
Richard M. Stallman
e6f0e76cd0 (set-visited-file-name): Rename auto-save file only if it exists. 1993-07-01 20:33:56 +00:00
Richard M. Stallman
c77a81cf65 (set-visited-file-name): Rename the old auto save file. 1993-07-01 18:39:58 +00:00
Richard M. Stallman
3be6243a7d (insert-file): Report error if file is directory. 1993-06-19 19:07:19 +00:00
Richard M. Stallman
3a8a836d28 (abbreviate-file-name): Match home dir with no / if nothing else follows. 1993-06-13 01:57:02 +00:00
Richard M. Stallman
5ce8bb89cf (make-directory): By default create dir default-dir. 1993-06-12 06:54:14 +00:00
Richard M. Stallman
c3bf10c278 (file-truename): Don't use expand-file-name to merge
a link target into the previous dir.  Handle .. and . explicitly.
1993-06-12 01:44:48 +00:00
Richard M. Stallman
30c5ce9c10 (cd): Use file-name-absolute-p.
(cd-absolute): No longer interactive.
1993-06-11 16:02:27 +00:00
Richard M. Stallman
4ea836c185 (make-backup-files): Doc fix. 1993-06-11 05:59:16 +00:00
Richard M. Stallman
fec33c0b30 (basic-save-buffer): Cal auto-save-mode with t as arg
if and only if auto save was off and default is on.
(set-visited-file-name): Likewise.
1993-06-10 23:35:18 +00:00
Richard M. Stallman
7d3221d7e3 (hack-one-local-variable): Treat ...-hook(s) and ..-function(s)
like setting the `eval' variable.
1993-06-10 21:31:56 +00:00
Richard M. Stallman
e98dda8986 (abbreviate-file-name): Make abbreviated-home-dir
from `~/', not from just `~'.
1993-06-10 20:44:12 +00:00
Jim Blandy
eb8c3be94e Apply typo patches from Paul Eggert. 1993-06-09 11:59:12 +00:00
Richard M. Stallman
a0c9f21b2d (inhibit-local-variables-regexps): New variable.
(set-auto-mode): Handle inhibit-local-variables-regexps.
1993-05-31 21:50:52 +00:00
Richard M. Stallman
320b423388 (find-file-run-dired): Doc fix.
(find-file-read-only): Return the buffer.
(find-file-read-only-other-window): Likewise.
(find-file-read-only-other-frame): Likewise.
1993-05-29 22:28:56 +00:00
Richard M. Stallman
cf65b42953 (file-chase-links): Handle leading .. in symlink target. 1993-05-29 20:13:58 +00:00
Richard M. Stallman
5dadeb297b (file-chase-links): New function.
(backup-buffer): Use file-chase-links.
1993-05-29 20:00:45 +00:00
Richard M. Stallman
278584fb62 (auto-mode-alist): Fix syntax for sgml mode. 1993-05-29 05:22:49 +00:00
Richard M. Stallman
8bb272853d (find-alternate-file): Hide truename and inode number
temporarily, like the visited file name.
1993-05-28 01:22:00 +00:00
Richard M. Stallman
27d0420cd5 (find-file-noselect): Expand buffer-file-truename
before copying it to anything else.
1993-05-26 23:19:07 +00:00
Richard M. Stallman
03b3ba121e (auto-mode-alist): Recognize .sgm, .sgml, .dtd. 1993-05-26 18:21:26 +00:00
Richard M. Stallman
2b845a8c70 (auto-mode-alist): Treat .H and .hh as C++ files. 1993-05-26 18:12:00 +00:00
Richard M. Stallman
9466a1f687 (find-file-read-only-other-window): Use find-file-other-window. 1993-05-25 03:56:02 +00:00
Richard M. Stallman
9daefb36fa (cd): Set cd-path to a list. 1993-05-24 21:45:20 +00:00
Jim Blandy
dd573bc0e5 * files.el (set-auto-mode): If the buffer's file name is nil,
don't try to compare it against the entries in auto-mode-alist.
1993-05-19 06:03:04 +00:00
Richard M. Stallman
a3666e4719 (auto-mode-alist): Delete the entries for makefile-mode. 1993-05-06 01:33:13 +00:00
Jim Blandy
28dbf5014a * files.el (insert-directory): Undo change of March 23;
dereferencing links is inappropriate for dired.

	* files.el (abbreviate-file-name): If abbreviated-home-dir ends
	with a slash, don't remove the corresponding slash from filename
	when we collapse the home directory to ~.
1993-05-03 03:37:22 +00:00
Richard M. Stallman
1770543d43 (find-file-noselect): On VMS, maybe set buffer-file-name
to the truename.  Depends on find-file-not-true-dirname-list
1993-05-02 12:46:26 +00:00
Richard M. Stallman
1cc2fbeb29 (find-file-noselect): Do set buffer-file-name
to the truename, when find-file-visit-truename.

(file-truename): Redo esr's change.
1993-04-30 11:54:04 +00:00
Roland McGrath
59c6a78e58 (file-truename): Undo last change. 1993-04-28 17:33:42 +00:00
Eric S. Raymond
8a5066940a (file-truename): Do the right thing when /home/gp2/eric = "". 1993-04-27 21:59:41 +00:00
Eric S. Raymond
a91b2e223a (cd): Handle leading "~" like an absolute filename. 1993-04-26 05:01:41 +00:00
Eric S. Raymond
231c4e102b (cd): Changed to use to resolve relative cd calls.
(cd-absolute): Added.  This is actually the old cd code with a changed
doc string.
(parse-colon-path): Added. Path-to-string exploder --- may be useful elsewhere.
1993-04-25 06:14:06 +00:00
Roland McGrath
4269ed64c8 (find-file-noselect): Never set SAME-TRUENAME to a buffer whose
buffer-file-name is nil.
1993-04-19 20:36:23 +00:00
Roland McGrath
a292c99fb5 (set-auto-mode): If the buffer begins with "#!", look for -*- in the first
two lines, not just the first one.
1993-04-19 20:27:50 +00:00
Richard M. Stallman
4e7afa864d (find-file-noselect): Verify other buffers' file numbers are still valid. 1993-04-11 21:22:35 +00:00
Noah Friedman
9115e9389c (find-backup-file-name): delete nothing if overflow in number of files to keep. 1993-03-30 22:21:03 +00:00
Eric S. Raymond
d87f0d7f53 Fixed typo introduced by last patch. 1993-03-28 06:36:19 +00:00
Eric S. Raymond
c80d2575c0 (auto-mode-alist): added pairs for .ms, .man, .mk, [Mm]akefile, .lex. 1993-03-28 06:24:44 +00:00
Richard M. Stallman
c9dca4e092 (local-write-file-hooks): New variable.
(set-visited-file-name): Kill local-write-file-hooks as local var.
(basic-save-buffer): Use local-write-file-hooks.
1993-03-26 07:28:20 +00:00
Jim Blandy
632c2579f7 * files.el (insert-directory): Do chase symlinks before passing
the directory name to ls.
1993-03-23 07:41:49 +00:00
Eric S. Raymond
e41b2db1da Added or corrected Commentary sections 1993-03-22 03:27:18 +00:00
Jim Blandy
b411d947d8 * files.el (basic-save-buffer): If file-precious-flag is set, and
we write the buffer to a temp file and then rename it, don't
	neglect to set the new file's modes properly.
1993-03-11 07:04:44 +00:00
Richard M. Stallman
41f48cb1bd (write-file): Handle directory name as arg. 1993-03-03 05:12:05 +00:00
Jim Blandy
1ab31687d4 * files.el (revert-buffer): Reverse the sense of the first
argument, but leave interactive usage the same.
	* vc.el (vc-resynch-window): Call vc-revert-buffer1 with the newly
	appropriate arguments.  This seems to be the only file which was
	adjusted for the new meaning of the revert-buffer arguments.
1993-02-22 14:17:16 +00:00
Richard M. Stallman
406e12d963 (insert-directory): Doc fix. 1993-02-20 06:23:08 +00:00
Richard M. Stallman
92966e6f18 (find-file-hooks): Delete permanent-local property.
(find-file-not-found-hooks): Likewise.
1993-02-15 19:02:55 +00:00
Roland McGrath
2be5e5dbe6 (switch-to-buffer-other-frame): Pass t to pop-to-buffer. 1993-01-14 21:28:18 +00:00
Richard M. Stallman
ffb3a4db3c (abbreviated-home-dir): New variable.
(abbreviate-file-name): Properly convert abbreviated homedir to ~.
1992-12-26 08:46:31 +00:00
Jim Blandy
5dbfdacd20 The find-file-name-handler function in ../src/fileio.c is now
callable from lisp; use it instead of writing out its code.
	* dired-aux.el (dired-compress-file): Just that.
	* dired.el (dired-uncache): Just that.
	* files.el (file-local-copy, file-truename,
	file-name-sans-versions, make-directory, save-buffers-kill-emacs):
	Just that.
	* ls-lisp.el (insert-directory): Just that.
1992-12-12 15:21:45 +00:00
Richard M. Stallman
4e43240ad3 (make-directory): Renamed from make-directory-path.
Optional argument says whether to create parent dirs.
Invoke file-name handler here.
(after-find-file): Delete code that offers to create dir.
Instead, just print a message.
1992-11-03 07:07:02 +00:00
Richard M. Stallman
6861ad22b2 (set-visited-file-name): Change the auto save file name. 1992-10-23 11:06:14 +00:00
Richard M. Stallman
2916578780 Doc fixes. 1992-10-21 04:52:59 +00:00
Richard M. Stallman
6f176f940e (file-truename): Check for root by seeing if
directory-file-name returns same as DIR.
Look for a file-truename handler for the file name.
1992-10-20 06:39:24 +00:00
Jim Blandy
6d1df4b2a4 * files.el (file-truename): The variable ~ should be considered an
absolute pathname; handle it correctly.  Concatenate the directory
	onto the filename in the correct order.
1992-10-14 16:45:31 +00:00
Richard M. Stallman
f3e2360646 (buffer-file-number): New variable.
(find-file-noselect): Record the file's filenum and devnum.
Notify if any buffer has the same values.
(basic-save-buffer): Save new filenum and devnum.
For file-precious-flag, pass real name as VISIT arg of write-region.
(set-visited-file-name): Likewise.
Clear buffer-file-{number,truename} if now visiting no file.
1992-10-12 04:45:53 +00:00
Richard M. Stallman
5792c834cd Doc fix. 1992-10-09 05:29:15 +00:00
Richard M. Stallman
7984cdcb44 (hack-local-variables): Ignore attempts to bind enable-local-eval. 1992-10-08 06:14:35 +00:00
Richard M. Stallman
46fa307385 (file-relative-name-1): New function split out.
(file-relative-name): Use it.
1992-09-28 13:02:52 +00:00
Roland McGrath
71fe1fcc56 (file-relative-name): Rewritten so unrelativizable file names win. 1992-09-27 02:40:49 +00:00
Roland McGrath
ea912aa694 (file-relative-name): Don't lose when DIRECTORY is nil. 1992-09-27 02:27:00 +00:00
Roland McGrath
6c636af99b (file-relative-name): New function. 1992-09-27 02:25:31 +00:00
Richard M. Stallman
8cfb9d4630 (after-find-file): New arg NOAUTO.
(revert-buffer, recover-file): Pass t for that arg.
1992-09-24 07:23:59 +00:00
Richard M. Stallman
ec8be6da94 entered into RCS 1992-09-20 23:59:32 +00:00
Richard M. Stallman
5d68c2c227 *** empty log message *** 1992-09-14 01:39:31 +00:00
Richard M. Stallman
c3554e9565 *** empty log message *** 1992-09-13 04:35:22 +00:00
Richard M. Stallman
65864ae07e *** empty log message *** 1992-09-12 08:44:18 +00:00
Richard M. Stallman
7adc58e517 *** empty log message *** 1992-09-11 07:05:14 +00:00
Richard M. Stallman
2bba782ce5 *** empty log message *** 1992-09-01 00:26:58 +00:00
Joseph Arceneaux
a61f59b428 *** empty log message *** 1992-08-06 02:56:35 +00:00
Richard M. Stallman
1586b965b9 *** empty log message *** 1992-08-03 02:02:37 +00:00
Richard M. Stallman
df01170b28 *** empty log message *** 1992-08-03 01:04:04 +00:00
Roland McGrath
907482b94c *** empty log message *** 1992-07-28 23:26:57 +00:00
Richard M. Stallman
2d05139977 *** empty log message *** 1992-07-28 19:38:08 +00:00
Richard M. Stallman
924f0a2420 *** empty log message *** 1992-07-22 23:07:07 +00:00
Eric S. Raymond
3a801d0c71 *** empty log message *** 1992-07-22 04:22:42 +00:00
Eric S. Raymond
6d74b528d0 *** empty log message *** 1992-07-22 03:58:44 +00:00
Richard M. Stallman
fd5285f3e3 *** empty log message *** 1992-07-19 01:07:07 +00:00
Jim Blandy
e373f20110 *** empty log message *** 1992-07-17 22:17:57 +00:00
Eric S. Raymond
e516799970 *** empty log message *** 1992-07-16 21:47:34 +00:00
Jim Blandy
f98955eaaa *** empty log message *** 1992-07-15 02:24:58 +00:00
Jim Blandy
79058860e1 *** empty log message *** 1992-07-10 01:16:40 +00:00
Richard M. Stallman
528415e7be *** empty log message *** 1992-07-04 16:51:02 +00:00
Richard M. Stallman
2dc2b7363e *** empty log message *** 1992-07-02 22:11:40 +00:00
Roland McGrath
35aaf00cff *** empty log message *** 1992-07-02 02:36:29 +00:00
Richard M. Stallman
d207b766c8 *** empty log message *** 1992-06-23 21:48:27 +00:00
Jim Blandy
87ef29fd4c *** empty log message *** 1992-06-10 01:34:51 +00:00
Eric S. Raymond
c0274f385f *** empty log message *** 1992-05-30 23:54:21 +00:00
Jim Blandy
e065a56e2d *** empty log message *** 1992-05-10 18:15:10 +00:00
Roland McGrath
b5e86cb3e1 *** empty log message *** 1992-05-05 22:12:04 +00:00
Jim Blandy
8c0e7b739d *** empty log message *** 1992-04-04 05:55:39 +00:00
Jim Blandy
7b3f3dc2bb *** empty log message *** 1992-02-27 23:17:44 +00:00
Jim Blandy
5bbbceb1de *** empty log message *** 1991-10-31 08:30:58 +00:00
Roland McGrath
b4da00e92a Initial revision 1991-07-19 14:42:53 +00:00