Kenichi Handa
e1ee3b548b
(revert-buffer): If a unibyte buffer is being reverted
...
with a coding system for multibyte, set buffer multibyte before
calling insert-file-contents.
2006-10-30 07:40:14 +00:00
Richard M. Stallman
5c471b12bc
(file-name-history): Add defvar.
...
(save-some-buffers-action-alist): Improve description strings.
2006-10-12 23:00:44 +00:00
Andreas Schwab
c595fad9d8
(auto-mode-alist): Match change log file name also with
...
a dash before a numeric extension.
2006-10-12 12:11:48 +00:00
Reiner Steib
1eb1a906aa
Mark `buffer-read-only' as safe-local-variable.
2006-10-08 11:34:29 +00:00
Eli Zaretskii
63c8abc42a
(find-file-existing): Modified to not allow wildcards.
2006-09-30 10:02:22 +00:00
Chong Yidong
16abdbe639
* files.el (save-some-buffers-action-alist): Display diff in
...
view-mode.
2006-09-22 15:01:41 +00:00
Stefan Monnier
02bb2aabef
(find-buffer-visiting): Don't get fooled by a nil inode.
2006-09-20 17:35:01 +00:00
Richard M. Stallman
cc5a104d66
(risky-local-variable-p): Match ...-bindat-spec.
2006-09-08 11:58:46 +00:00
Stefan Monnier
e959542d99
(abbreviate-file-name): Don't mistakenly match newlines in file name.
2006-09-06 16:32:18 +00:00
Eli Zaretskii
18b28ef18f
(convert-standard-filename): For Cygwin, replace characters not allowed in
...
Windows file names.
(make-auto-save-file-name): Add Cygwin to the list of systems where the
auto-save file name needs to be run through convert-standard-filename.
2006-07-29 12:05:28 +00:00
Stefan Monnier
ba83982b7f
Remove spurious * in docstrings.
2006-07-16 04:28:10 +00:00
Richard M. Stallman
e1cac5702d
(locate-file-completion): Avoid duplicates in result.
2006-07-12 15:57:07 +00:00
Chong Yidong
077f47e2a5
* files.el (find-alternate-file): Doc fix.
2006-07-06 13:55:49 +00:00
Richard M. Stallman
f663a1ce37
(abbreviate-file-name): Add save-match-data.
2006-07-05 17:13:28 +00:00
Stefan Monnier
e442c62b56
(find-file-noselect-1): Remove unused var assignment.
...
(hack-local-variables-confirm): Print lists of strings as lists of
strings rather than lists of symbols.
(abbreviate-file-name, hack-local-variables-prop-line):
Use match-string.
(hack-one-local-variable): Move `make-local-variable' nearer its use.
(recover-session-finish): Use line-end-position.
2006-07-02 14:26:53 +00:00
Eli Zaretskii
e0d8fc91ce
Fix a comment.
2006-06-23 10:38:24 +00:00
Chong Yidong
a548f3d70a
* files.el (hack-local-variables): Run `hack-local-variables-hook'
...
whether or not a local variables list is defined.
2006-06-20 22:22:33 +00:00
Richard M. Stallman
562ca53878
(find-file-noselect): Improve the question wording.
...
(basic-save-buffer-2): Mask UMASK against 666.
2006-06-19 21:48:41 +00:00
Richard M. Stallman
730df8dbd5
(basic-save-buffer-2): For a new precious file,
...
use the default modes in the return value.
2006-06-16 15:14:40 +00:00
Thien-Thi Nguyen
15a8ea0ca6
(hack-local-variables-confirm):
...
Display string value using its printed representation.
2006-06-12 07:52:05 +00:00
Kenichi Handa
1314c787eb
(hack-local-variables-prop-line)
...
(hack-local-variables): Cancel the previous change.
2006-06-07 01:20:28 +00:00
Kenichi Handa
8a3d7ed346
(hack-local-variables): Ignore char-trans' as well as
coding'.
2006-06-02 06:34:00 +00:00
Kenichi Handa
c55122c321
(hack-local-variables-prop-line): Ignore `char-trans'
...
as well as `coding'.
2006-06-02 06:28:13 +00:00
Daniel Pfeiffer
8088bb2ca5
(auto-mode-alist): Add makepp suffix and optional mk on Makeppfile.
2006-05-30 06:59:56 +00:00
Stefan Monnier
b486a098cb
(hack-one-local-variable-eval-safep): Don't burp if used
...
during bootstrapping.
2006-05-29 05:47:29 +00:00
Chong Yidong
920e95c0c3
* files.el (backup-buffer-copy): Remove deleted MUSTBENEW argument
...
to copy-file.
2006-05-26 15:21:21 +00:00
Richard M. Stallman
3248328097
(file-name-extension): Doc fix.
2006-05-17 22:54:35 +00:00
Eli Zaretskii
03210c3ae6
(auto-mode-alist): Add .lha files to archive file extensions.
2006-05-16 18:33:31 +00:00
Stefan Monnier
1d0ec0d176
Trivial typo.
2006-05-16 03:35:46 +00:00
Reiner Steib
e48335de35
(version-control): Correct safe values.
2006-05-12 12:29:08 +00:00
Luc Teirlinck
7f385e4721
Balance parentheses.
2006-05-12 00:14:21 +00:00
Reiner Steib
631c8020a5
Move `safe-local-variable' declarations to the respective files.
2006-05-11 15:01:41 +00:00
Juri Linkov
0a51c121e4
Remove eval' and
let' binding for now unused lambda `string-or-null'.
2006-05-09 22:55:30 +00:00
Eli Zaretskii
b3a5935014
(buffer-stale-function): Point Info links to the main manual, not to emacs-xtra.
2006-05-06 14:37:04 +00:00
Reiner Steib
31cf286fdb
(byte-compile-dynamic)
...
(byte-compile-dynamic-docstrings, byte-compile-warnings)
(find-file-visit-truename, indent-tabs-mode, left-margin)
(no-byte-compile no-update-autoloads, truncate-lines)
(version-control): Don't use `t' for safe-local-variable
declarations.
2006-05-02 12:24:55 +00:00
Stefan Monnier
80aa469540
(safe-local-variable-p): Remove support for the special value t.
2006-04-29 13:59:52 +00:00
Richard M. Stallman
e58cec15eb
(enable-local-variables): Allow :all as value.
...
(hack-local-variables): Implement that value.
(safe-local-variable-values, safe-local-eval-forms)
(enable-local-variables): Mark as risky.
(find-file-visit-truename, kept-old-versions): Mark safe.
2006-04-18 21:20:03 +00:00
Eli Zaretskii
bc5d1dfb83
(hack-one-local-variable-eval-safep): Recognize edebug-form-spec' for
put',
...
but only if it passes `edebug-basic-spec'. Generalize `put' handling.
2006-04-13 10:54:38 +00:00
Richard M. Stallman
a5ce12c36a
(enable-local-variables): Allow value :safe.
...
(normal-mode): Doc fix.
(hack-local-variables): Implement enable-local-variables = :safe.
(hack-local-variables-confirm): Don't prevent quitting.
2006-04-11 17:57:34 +00:00
Eli Zaretskii
dbcd3ce074
(hack-local-variables-confirm) <offer-save>: Clarify message text. Suggested
...
by Ralf Angeli.
2006-04-08 10:41:12 +00:00
Reiner Steib
3e45722587
* subr.el (string-or-null-p): New function.
...
* textmodes/paragraphs.el (sentence-end): Use string-or-null-p.
* textmodes/ispell.el (ispell-local-dictionary): Use
string-or-null-p.
* files.el: Update comment about safe-local-variable declarations.
2006-04-06 19:20:38 +00:00
Reiner Steib
6c07f4d42a
* files.el: Move some `safe-local-variable' declarations to the
...
respective files.
* textmodes/ispell.el (ispell-check-comments)
(ispell-local-dictionary): Mark as safe.
* abbrev.el (abbrev-mode): Mark as safe.
* add-log.el (change-log-default-name): Mark as safe.
* textmodes/reftex-vars.el (reftex-vref-is-default)
(reftex-fref-is-default, reftex-level-indent)
(reftex-guess-label-type): Mark as safe.
* textmodes/fill.el (colon-double-space): Mark as safe.
* textmodes/paragraphs.el (paragraph-start, paragraph-separate)
(sentence-end-double-space, sentence-end-without-period)
(sentence-end-without-space, sentence-end, sentence-end-base)
(page-delimiter, paragraph-ignore-fill-prefix): Mark as safe.
2006-04-06 15:36:24 +00:00
Andreas Schwab
704d70172a
Mark left-margin',
byte-compile-dynamic-docstrings'
...
and `byte-compile-warnings' as `safe-local-variable'.
2006-04-04 18:59:01 +00:00
Romain Francoise
3095ccf511
(ctl-x-5-map): Really bind C-x 5 C-o to `display-buffer-other-frame'.
2006-03-24 13:59:22 +00:00
Richard M. Stallman
ab9b3866b8
(display-buffer-other-frame): New command.
...
(ctl-x-4-map): Bind C-x 5 C-o to it.
2006-03-20 15:05:41 +00:00
Eli Zaretskii
d504040421
(auto-mode-alist): Add .odt (OpenOffice's open document) files. Mention in
...
the doc string the need to sync with auto-coding-alist.
2006-03-11 11:42:58 +00:00
Chong Yidong
af467e285e
* files.el (hack-local-variables-confirm): Don't prompt for ! if
...
enable-local-variables is set to always query, or there is no
savable variable.
2006-03-10 23:22:30 +00:00
Chong Yidong
4299d849d8
* files.el (hack-local-variables-confirm): Set
...
coding-system-for-read to nil before writing to .emacs.
2006-03-08 02:24:47 +00:00
Luc Teirlinck
9f6fdbf0a2
(load-library): Use get-load-suffixes' instead of
load-suffixes'.
2006-02-27 01:53:28 +00:00
Richard M. Stallman
a251756ea6
(enable-local-variables): Doc fix.
2006-02-21 19:49:55 +00:00