Commit graph

315 commits

Author SHA1 Message Date
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