1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-11 09:20:51 +00:00
Commit Graph

213 Commits

Author SHA1 Message Date
Richard M. Stallman
10f7c7fc29 (recover-file): Use ordinary `f' to read file name. 1995-02-10 06:29:31 +00:00
Roland McGrath
a641f9a11e (not-modified): Doc fix. 1995-01-15 10:59:20 +00:00
Richard M. Stallman
ea9e39a024 (revert-buffer): Recompute buffer-file-truename. 1995-01-12 23:45:01 +00:00
Richard M. Stallman
eb650569ae (find-backup-file-name): Run a file name handler.
(backup-buffer): Do nothing if backup-info is nil.
1995-01-12 21:05:07 +00:00
Richard M. Stallman
04eae66712 (auto-mode-alist): Add entries for .cls files, and for /drafts/. 1995-01-04 22:02:59 +00:00
Richard M. Stallman
c11a94fe53 (auto-mode-alist): Add entries for .cls files,
and for /drafts/.  Put tex-mode and latex-mode in lower case.

(set-visited-file-name): Error if buffer is indirect.
(basic-save-buffer): For indirect buffer, save the base buffer.
(save-some-buffers): Ignore indirect buffers.
1994-12-31 07:49:59 +00:00
Richard M. Stallman
fb15c113b9 (save-buffers-kill-emacs): Fix backward test of value of
run-hook-with-args-until-failure.
1994-12-24 16:41:31 +00:00
Richard M. Stallman
1d517019a9 (hack-local-variables): Run hack-local-variables-hook.
(hack-local-variables-hook): New variable.
1994-12-15 12:36:03 +00:00
Richard M. Stallman
fce47eeafe (ignored-local-variables): Mark it risky. 1994-12-13 13:44:20 +00:00
Karl Heuer
6054fcc645 (set-auto-mode): Don't get confused by anything ending in "mode:" which isn't
a mode spec.
1994-12-09 06:14:44 +00:00
Richard M. Stallman
dc554c3acc (backup-buffer): Use file-ownership-preserved-p. 1994-11-17 16:53:01 +00:00
Richard M. Stallman
c32d49e850 (abbreviate-file-name): Handle drive letters on windows-nt as on ms-dos. 1994-11-01 05:48:21 +00:00
Karl Heuer
a2e12c0c4d (find-file-noselect): Call set-buffer-major-mode here. 1994-10-27 22:34:21 +00:00
Richard M. Stallman
5a48c0b6c9 (buffer-file-truename): Doc fix. 1994-10-25 04:46:54 +00:00
Richard M. Stallman
116987ba62 (auto-mode-alist): Doc fix. 1994-10-19 00:08:18 +00:00
Richard M. Stallman
cae111fa0d (set-auto-mode): Discard versions from file name before
testing inhibit-first-line-modes-regexps.
1994-10-04 02:56:49 +00:00
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