1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-30 08:09:04 +00:00
Commit Graph

356 Commits

Author SHA1 Message Date
Richard M. Stallman
ad37509224 (require-final-newline): Fix custom :type. 1997-06-20 02:59:38 +00:00
Richard M. Stallman
b36c3da622 (ctl-x-map): Delete the C-x C-q binding for toggle-read-only. 1997-06-18 20:19:32 +00:00
Richard M. Stallman
2a9fe1e256 (backup, find-file): Make `files' their parent.
(view-read-only): New option variable.  If
non-nil then buffers visiting files read-only, do it in view mode.
(find-file-read-only, find-file-read-only-other-window)
(find-file-read-only-other-frame): Call toggle-read-only
instead of setting buffer-read-only explicitly.
(toggle-read-only, after-find-file): Handle view-read-only.
(save-some-buffers): Use second argument of view-buffer
instead of setting view-exit-action.
1997-06-18 17:24:59 +00:00
Richard M. Stallman
feaec97dd4 (file-name-non-special): Handle
file-name-completion and file-name-all-completions.
1997-06-08 03:26:07 +00:00
Richard M. Stallman
18b9dced5b (file-name-non-special): Special handling for
substitute-in-file-name operation.
1997-05-30 06:38:56 +00:00
Kenichi Handa
912192d19a (find-file): Delete the facility of handling a prefix
argument.
(find-file-other-window, find-file-read-only): Likewise.
(find-file-read-only-other-window): Likewise.
(find-file-read-only-other-frame): Likewise.
(find-alternate-file-other-window, find-alternate-file): Likewise.
(write-file, insert-file, append-to-file): Likewise.
1997-05-28 03:35:36 +00:00
Richard M. Stallman
db8c4866b4 (path-separator, parse-colon-path): Doc fixes.
(revert-without-query): Renamed from
find-file-revert-without-query.
(find-file-noselect): Use new option.
(revert-buffer): Check the option here too.
1997-05-20 05:27:50 +00:00
Richard M. Stallman
e2b307720f (backup-extract-version-start): New variable.
(find-backup-file-namem, backup-extract-version):
Rename bv-length to backup-extract-version-start.

(file-relative-name): Bind the variable fname.
1997-05-10 05:44:56 +00:00
Richard M. Stallman
f89cbd61d3 (auto-mode-alist): Shuffle a few elements, 1997-05-10 05:36:01 +00:00
Richard M. Stallman
2154059726 Use defgroup and defcustom. 1997-05-05 22:04:00 +00:00
Richard M. Stallman
8609911b97 Doc fix. 1997-05-05 17:06:10 +00:00
Richard M. Stallman
9de9b6a200 (set-auto-mode): New arg JUST-FROM-FILE-NAME.
(hack-local-variables): New arg MODE-ONLY.
(set-visited-file-name): Alter the major mode based on new file name.
(change-major-mode-with-file-name): New variable.
1997-05-05 04:38:26 +00:00
Richard M. Stallman
ffa7ab703c (recover-file): Fix error message. 1997-04-21 04:48:47 +00:00
Richard M. Stallman
c2c84cd793 (auto-mode-alist): Add .dsl and .dsssl for dsssl-mode. 1997-04-12 19:20:07 +00:00
Richard M. Stallman
2d6562a572 (file-relative-name): Expand both args before
checking for device mismatch.

(file-relative-name): Handle differing drive letters on Microsoft systems.
1997-04-11 01:47:41 +00:00
Richard M. Stallman
c3348e101b (make-auto-save-file-name): Replace both / and \
with sequences starting with %.
1997-03-29 00:32:54 +00:00
Richard M. Stallman
7b3478a5e8 (recover-session): Add `t' to switches. 1997-03-22 03:42:32 +00:00
Karl Heuer
82d0954a23 (find-file, find-file-other-window,
find-file-read-only, find-file-read-only-other-window,
find-file-read-only-other-frame, find-alternate-file-other-window,
find-alternate-file): With a prefix argument, enable users to
specify a coding system interactively.
(find-file-noselect): Describe optional arguments NOWARN and
RAWFILE in the doc-string.
(write-file, insert-file, append-to-file): Accept a prefix
argument to enable users to specify a coding system interactively.
(revert-buffer): Read an auto-saved file without any code
conversion.
1997-02-20 05:44:24 +00:00
Erik Naggum
96c188b08c (file-relative-name): Protect the match-data. 1997-02-05 01:32:44 +00:00
Richard M. Stallman
f36012a669 (set-visited-file-name): New arg ALONG-WITH-FILE. 1997-02-03 09:42:56 +00:00
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