Richard M. Stallman
467ff69234
(switch-to-buffer-other-frame)
...
(switch-to-buffer-other-window): New arg NORECORD.
1997-01-05 02:55:09 +00:00
Richard M. Stallman
a8bf610ec0
(insert-directory): Use -- as arg
...
so that a file name or pattern is never taken as an option.
1996-12-31 04:50:27 +00:00
Richard M. Stallman
d7fa5aa239
Change defconsts to defvars.
1996-12-16 01:33:02 +00:00
Richard M. Stallman
ebeb898f46
(find-file-revert-without-query): New variable.
...
(find-file-noselect): Revert certain files without query
if the file has changed and the buffer has not.
1996-12-15 20:52:40 +00:00
Karl Heuer
27ab694409
(backup-buffer): Doc fix.
1996-12-06 23:29:47 +00:00
Karl Heuer
659ebcc6fb
(write-contents-hooks): Doc fix.
1996-11-17 19:41:48 +00:00
Richard M. Stallman
7e7c9c4eed
(revert-buffer): Doc fix.
...
(wildcard-to-regexp): Don't treat [] as special.
1996-11-09 09:04:52 +00:00
Simon Marshall
1fbd6d0fa0
more auto-mode-alist modes.
1996-10-28 10:01:55 +00:00
Richard M. Stallman
5f65549e3f
(set-visited-file-name): Doc fix.
...
(write-file): Use CONFIRM when calling set-visited-file-name.
1996-10-26 18:12:01 +00:00
Richard M. Stallman
93a2702d0e
(hack-local-variables-prop-line):
...
Ignore case when checking for `mode'.
1996-10-13 14:00:48 +00:00
Richard M. Stallman
bfc6cac943
(auto-mode-alist): .hpp files get C++ mode.
1996-10-10 21:39:13 +00:00
Richard M. Stallman
47afc068c0
(file-name-non-special): New function.
...
Add it to file-name-handler-alist.
1996-10-04 05:10:54 +00:00
Richard M. Stallman
363a5030a6
(recover-session): Error if session files turned off.
1996-10-02 10:26:51 +00:00
Richard M. Stallman
6e6f5d9e7b
(auto-mode-alist): Add lower-case varieties of
...
ChangeLog filenames, for case-insensitive MSDOS and MS-Windows.
(insert-file-contents-literally): Doc fix.
1996-09-25 22:37:27 +00:00
Richard M. Stallman
a7305f6e9f
(file-locked-p): Alias to `ignore' if no file locking.
1996-09-16 09:43:42 +00:00
Richard M. Stallman
a220751d75
(find-file-existing-other-name): Default value now t.
1996-09-14 21:07:32 +00:00
Richard M. Stallman
66f4a663db
(inhibit-first-line-modes-regexps): Add .tgz.
1996-09-13 21:56:53 +00:00
Richard M. Stallman
b7fa904ccb
(insert-directory): If ls fails, get an error.
1996-09-01 21:38:48 +00:00
Richard M. Stallman
a8abaf83a4
(make-auto-save-file-name): Try a few directories
...
to get one we can write in.
1996-09-01 00:20:33 +00:00
Richard M. Stallman
73ba610ac4
(kill-some-buffers): New arg LIST says buffers to maybe kill.
1996-08-29 01:27:18 +00:00
Richard M. Stallman
5b2b26d52a
(revert-buffer): Doc fix.
1996-08-20 21:22:41 +00:00
Richard M. Stallman
eba1c87adc
(dabbrev-case-fold-search, dabbrev-case-replace): Set
...
`risky-local-variable' property, since these get eval'ed.
1996-07-22 02:13:28 +00:00
Erik Naggum
e810675add
(insert-directory): Fix previous change.
1996-07-07 01:07:32 +00:00
Miles Bader
51a2264fb5
(insert-directory): When converting SWITCHES string to a list, put back
...
in original order.
1996-07-04 05:45:38 +00:00
Richard M. Stallman
6a6b62f802
(set-visited-file-name): New optional arg NO-QUERY.
1996-06-29 19:50:56 +00:00
Richard M. Stallman
a8f34fc083
(abbreviate-file-name): Ignore automount-dir-prefix if nil.
1996-06-28 08:28:51 +00:00
Richard M. Stallman
353941298b
(auto-mode-alist): Treat .pm like .pl.
1996-06-28 08:21:49 +00:00
Richard M. Stallman
668d9a3ec9
(set-auto-mode): Run multiple mode: specs in left-to-right order.
1996-06-24 06:44:15 +00:00
Richard M. Stallman
12a8a23945
(auto-mode-alist): Add uppercase version of archive
...
mode file name extensions ARC, ZIP, LXH, ZOO.
1996-06-18 15:55:20 +00:00
Richard M. Stallman
a4ad4d9602
(find-alternate-file): Don't clear buffer-file-truename
...
and friends until after calling unlock-buffer.
1996-06-12 14:43:51 +00:00
Richard M. Stallman
2837b9df2e
(hack-local-variables-prop-line): Bind enable-local-eval.
1996-06-09 19:11:53 +00:00
Richard M. Stallman
de88363f85
(buffer-file-numbers-unique): New variable;
...
initialize to nil for windows-nt.
(find-buffer-visiting): Skip search for buffer based
on buffer-file-number if these are not unique.
1996-06-04 16:17:22 +00:00
Karl Heuer
28ee503c5a
(make-backup-file-name): Check msdos-long-file-names.
...
(basic-save-buffer-1, make-auto-save-file-name): Likewise.
1996-05-21 17:21:25 +00:00
Richard M. Stallman
0254679b3a
(auto-mode-alist): .F gets fortran mode.
1996-04-21 02:01:31 +00:00
Richard M. Stallman
6a6a0b8bf3
(after-find-file): Mention file name in "auto save is newer" message.
1996-04-19 09:32:55 +00:00
Richard M. Stallman
e049945bc0
(interpreter-mode-alist): Recognize perl5.
1996-04-12 18:42:22 +00:00
Richard M. Stallman
95b5322579
(auto-mode-alist): Handle `.java'.
1996-04-11 14:45:09 +00:00
Richard M. Stallman
cf7e94a0df
(file-newest-backup): Return the newest backup for the
...
exact file name specified, not the newest backup of all files
whose names start with that substring.
1996-04-03 05:55:12 +00:00
Richard M. Stallman
11e314fa73
(set-visited-file-name): Don't call find-buffer-visiting if filename is nil.
1996-03-26 23:57:49 +00:00
Richard M. Stallman
9596811a3d
Comment change.
1996-03-02 06:37:35 +00:00
Richard M. Stallman
7b89d38e9a
(set-visited-file-name): Query if there's already another
...
buffer visiting this file.
1996-03-01 20:29:32 +00:00
Karl Heuer
fa66096961
(find-file-noselect): If after-find-file switches buffers,
...
return the buffer that it leaves current.
1996-02-21 21:32:35 +00:00
Karl Heuer
dfeadd842f
(interpreter-mode-alist): Add mawk.
...
(set-auto-mode): Allow either space or tab in #! line.
1996-02-19 08:13:10 +00:00
Karl Heuer
5da565f812
(auto-mode-alist): Recognize GNUmakefile.
1996-02-16 00:55:11 +00:00
Karl Heuer
c87c4cda2a
(auto-mode-alist): Recognize .itcl and .itk suffixes.
1996-02-16 00:50:22 +00:00
Richard M. Stallman
7458cc352f
(auto-mode-alist): .ksh suffix means sh-mode.
...
(write-file): Interactively, prefix arg means don't confirm.
1996-02-02 18:47:34 +00:00
Richard M. Stallman
5a8a160eb6
(list-directory): Set default-directory better if the
...
argument is a directory's file name.
1996-01-28 19:27:44 +00:00
Karl Heuer
ba369f54e0
(find-file-noselect): Fix error message style.
1996-01-24 23:25:44 +00:00
Karl Heuer
e1ec01c2f1
(auto-mode-alist): Recognize ".exp" suffix.
1996-01-19 22:50:21 +00:00
Karl Heuer
628b603552
(auto-mode-alist): Use "\\`" instead of "^".
1996-01-17 19:14:20 +00:00
Richard M. Stallman
693f800dd6
(auto-mode-alist): Add sgml-mode and html-mode.
...
(write-contents-hooks): Doc fix.
1996-01-15 05:08:57 +00:00
Karl Heuer
f82966e4c0
(write-contents-hooks): Call make-variable-buffer-local.
...
Doc fix.
(local-write-file-hooks, write-file-hooks): Doc fixes.
1996-01-09 23:17:37 +00:00
Richard M. Stallman
d1194c856c
(interpreter-mode-alist): Add most shells, with sh-mode.
...
Add tail, more, less, pg with text-mode.
(auto-mode-alist): Recognize extensions that indicate
shell scripts, as well as common init file names.
1996-01-05 02:34:37 +00:00
Karl Heuer
0225ae5eef
(make-directory): Doc fix.
1996-01-04 23:34:55 +00:00
Richard M. Stallman
567c1ca939
(abbrev-file-name): Drive letter can go beyond `Z' under MS-DOS/Novell.
...
(auto-mode-alist): Support txt and txi like text and texi.
(backup-buffer): Use convert-standard-filename.
(basic-save-buffer-1): Make the name of the temporary file (where
precious files are saved) conform to MS-DOS 8+3 constraints.
(convert-standard-filename): New function.
1996-01-01 22:51:51 +00:00
Richard M. Stallman
4503dacb37
(make-auto-save-file-name): Make name always end in #,
...
i.e. overwrite third char in extension if required.
1995-12-29 03:36:35 +00:00
Richard M. Stallman
6f4983e6e6
(wildcard-to-regexp): New function.
...
(recover-session): Bind ls-lisp-support-shell-wildcards to t.
1995-12-28 19:24:16 +00:00
Richard M. Stallman
9a30563f92
(revert-buffer): New arg preserve-modes.
...
(after-find-file): New arg nomodes.
1995-12-25 21:05:31 +00:00
Roland McGrath
76d5492ba7
(save-some-buffers): Don't give message if we queried.
1995-12-24 09:25:19 +00:00
Richard M. Stallman
ac9650be4d
(save-buffer): Doc fix.
1995-12-23 07:34:59 +00:00
Karl Heuer
066327aee3
(make-backup-file-name, backup-file-name-p): Use ~ even
...
on ms-dos.
1995-12-19 21:30:13 +00:00
Karl Heuer
600a5f71e6
(auto-mode-alist): Recognize .S and .asm extensions.
1995-12-19 20:28:26 +00:00
Karl Heuer
1540e4e9cc
(set-auto-mode): Recognize `#!/bin/env INTERPRETER' hack.
1995-12-15 21:11:52 +00:00
Erik Naggum
e1dadc172e
(recover-file): Also recover new, unsaved files.
1995-12-06 11:59:55 +00:00
Richard M. Stallman
f76e0cd017
(auto-mode-alist): Don't purecopy the alist elts.
1995-11-29 21:18:05 +00:00
Karl Heuer
4147a3ccb5
(find-file-noselect): Respect the value of
...
find-file-visit-truename when FILENAME is a directory and
find-file-run-dired is non-nil.
1995-11-10 19:12:42 +00:00
Richard M. Stallman
d0fc03efcf
(set-auto-mode): If mode cmds move point, obey them.
1995-11-10 19:08:56 +00:00
Richard M. Stallman
2a47b4f5b4
(set-visited-file-name, basic-save-buffer):
...
Set buffer-file-number consistently with find-file-noselect.
1995-10-29 20:23:42 +00:00
Richard M. Stallman
8ccdc29ebc
(set-visited-file-name): Abbreviate buffer-file-name.
1995-10-24 22:14:39 +00:00
Richard M. Stallman
60eaf370b1
(find-alternate-file-other-window): New function.
1995-10-11 15:39:13 +00:00
Richard M. Stallman
5bcb027863
(recover-session): Use auto-save-list-file-prefix.
1995-10-04 19:42:04 +00:00
Richard M. Stallman
953a03b29c
(recover-session-finish): Ask only about files that
...
have auto-save files now. Don't put "temp" into temp file names.
1995-10-04 18:34:14 +00:00
Roland McGrath
2121cd9c03
(cd): Fix interactive spec to require match if there is no CDPATH.
1995-09-30 16:35:12 +00:00
Richard M. Stallman
d4f567a13b
(interpreter-mode-alist): Handle nawk.
1995-09-28 19:19:08 +00:00
Richard M. Stallman
baf9b8c4a3
(find-alternate-file): Kill any preexisting ` **lose**' buf.
1995-09-17 14:12:02 +00:00
Richard M. Stallman
d23e6f972b
(auto-mode-alist): .pl is now Perl.
1995-09-12 21:37:08 +00:00
Richard M. Stallman
bccfd93664
(auto-mode-alist): Handle .f90 files.
1995-09-02 16:36:41 +00:00
Richard M. Stallman
a513a2f85f
(list-directory): Set default-directory.
1995-08-30 16:01:39 +00:00
Richard M. Stallman
aaf1750122
(recover-session-finish): Catch erorr in recover-file.
1995-08-28 20:13:56 +00:00
Richard M. Stallman
1cc852cc96
(basic-save-buffer): Doc fix.
...
(after-save-hook): Add defvar.
1995-08-28 15:15:28 +00:00
Richard M. Stallman
4953086242
(basic-save-buffer): Call vc-after-save.
1995-08-22 19:06:19 +00:00
Richard M. Stallman
6cf85938f4
(auto-mode-alist): Turn on use of makefile-mode.
1995-08-22 19:03:41 +00:00
Richard M. Stallman
182891ef3d
(basic-save-buffer): Confirm for overwriting old file
...
when a file name is specified.
1995-08-19 17:01:27 +00:00
Richard M. Stallman
8909596294
(basic-save-buffer-1): Pass new arg to write-region.
1995-08-14 17:24:21 +00:00
Richard M. Stallman
40dfe94dc5
(insert-file-contents-literally): New function.
...
(find-file-noselect): Use it if new optional argument `rawfile' is non-nil.
1995-08-14 16:05:46 +00:00
Richard M. Stallman
945e196506
(recover-file): It's ok if the visited file doesn't exist.
...
(recover-session-finish): Compute "file name" from autosave file
if no visited file.
1995-08-13 16:48:13 +00:00
Richard M. Stallman
033ef863a8
(recover-session): Mention deletion is possible.
...
(recover-session-finish): Call dired-do-flagged-delete.
1995-08-01 23:34:53 +00:00
Richard M. Stallman
dac4ea74cc
(cd): When reading arg, use just directory as the default.
1995-07-30 07:02:13 +00:00
Richard M. Stallman
dbb12f2cf8
(file-name-sans-versions): Recognize version control version numbers.
1995-07-18 20:57:57 +00:00
Richard M. Stallman
f804f4e445
(auto-mode-alist): Recognize *.ads and *.adb as Ada specs and bodies.
1995-07-18 20:48:36 +00:00
Karl Heuer
c1fe251ace
(auto-mode-alist): Move .scm.[0-9] before nroff-mode.
...
Escape the second period.
1995-07-17 22:48:06 +00:00
Richard M. Stallman
1d3541803d
(auto-mode-alist): Make archive-mode the default for
...
.arc, .lzh, .zip, and .zoo files.
1995-06-29 22:37:56 +00:00
Richard M. Stallman
56969ea355
(buffer-file-truename): Duplicate definition deleted.
1995-06-21 23:19:47 +00:00
Simon Marshall
1ce7f68768
Corrected the comment from last change.
1995-06-15 07:04:00 +00:00
Simon Marshall
cc37a58ceb
Test for "" too; let it go to expand-file-name if it is equal.
1995-06-13 08:27:11 +00:00
Karl Heuer
4b7271c1a1
(file-precious-flag): Doc clarification.
1995-06-09 01:00:42 +00:00
Karl Heuer
560f4415ad
(file-precious-flag): Doc fix.
1995-06-07 20:45:11 +00:00
Karl Heuer
1c26a6f3af
(hack-local-variables-prop-line): Don't downcase var name.
1995-06-05 12:30:11 +00:00
Roland McGrath
80280bb74a
(multiple-recover-finish): Renamed to recover-session-finish.
...
(recover-session): Changed binding.
(recover-session-finish): Doc fix; rewritten using map-y-or-n-p.
1995-06-01 23:18:04 +00:00
Karl Heuer
5f76e7d492
(after-revert-hook, before-revert-hook): Add defvars.
1995-05-29 19:42:42 +00:00
Karl Heuer
ba5c8c9369
(revert-buffer): Save after-revert-hook (both local and
...
global values) before reverting, and run the saved values at the end.
1995-05-29 06:59:26 +00:00
Karl Heuer
b7d19f4a09
(find-file-noselect): In "file changed" messages,
...
mention buffer name if different from file name.
1995-05-29 06:54:09 +00:00
Karl Heuer
ec5533befb
(file-ownership-preserved-p): Fix typo in previous change.
1995-05-22 20:00:17 +00:00
Richard M. Stallman
306faa4228
(path-separator): Defined.
...
(parse-colon-path): Use path-separator.
(file-ownership-preserved-p): Don't bomb if file doesn't exist.
1995-05-15 22:22:25 +00:00
Richard M. Stallman
6598027d33
(recover-session): Renamed from multiple-recover.
1995-05-07 18:39:02 +00:00
Richard M. Stallman
4bc3d240cc
(set-auto-mode): If buffer has no file, use buffer name.
1995-05-01 15:49:09 +00:00
Richard M. Stallman
9aee539273
(multiple-recover, multiple-recover-finish): New commands.
1995-04-30 19:46:44 +00:00
Karl Heuer
3941fe2c64
(toggle-read-only, rename-uniquely): Use force-mode-line-update.
1995-04-25 22:22:21 +00:00
Richard M. Stallman
ed34f320f2
(rename-uniquely): Don't discard <NN> from end
...
if that is part of the visited file name.
1995-04-25 04:22:37 +00:00
Richard M. Stallman
40eb8038d9
(rename-uniquely): Strip suffix before rename.
1995-04-24 14:59:22 +00:00
Richard M. Stallman
fb69dfa50e
(set-auto-mode): If -*- spec doesn't set `mode:',
...
look for other ways of specifying major mode.
1995-04-16 03:20:40 +00:00
Karl Heuer
64ce1458ef
(set-auto-mode) [WINDOWSNT]: Match insensitive to case.
1995-04-12 03:10:46 +00:00
Richard M. Stallman
c2fb848831
(write-file): Default is ask for confirmation only interactively.
1995-04-10 04:49:13 +00:00
Karl Heuer
4891222c9e
(write-file): Fix arg count in call to y-or-n-p.
1995-04-06 19:25:20 +00:00
Karl Heuer
38832b4c51
(set-auto-mode): Fix previous change.
1995-04-03 21:37:39 +00:00
Richard M. Stallman
b20ff6d0b7
(inhibit-first-line-modes-suffixes): New variable.
...
(set-auto-mode): Use it.
(inhibit-first-line-modes-regexps): Use \\', not $.
1995-04-02 02:22:14 +00:00
Richard M. Stallman
108aa1b5f0
(insert-directory): Use \ before insert-directory-program
...
to ignore shell aliasing.
1995-03-31 01:56:18 +00:00
Richard M. Stallman
6b8b57db4a
(write-file): Query if file exists already.
1995-03-18 21:51:18 +00:00
Richard M. Stallman
65ee6096af
(revert-buffer): Doc fix.
1995-03-08 03:43:34 +00:00
Richard M. Stallman
78c793d117
(kill-emacs-query-functions): Doc fix.
1995-03-02 19:36:40 +00:00
Karl Heuer
e0867e9965
(revert-buffer): Use current-prefix-arg, not prefix-arg.
1995-02-28 06:24:08 +00:00
Richard M. Stallman
71679121fc
(auto-mode-alist): Fix problem in previous change.
1995-02-14 00:26:11 +00:00
Richard M. Stallman
c76a164af2
(auto-mode-alist): Add .cpp, .cxx, .hxx, .c++, .h++.
1995-02-11 04:50:55 +00:00
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
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