Commit graph

1467 commits

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