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
Chong Yidong
b9e1451a3d
* files.el: Rearrange functions and variables in the file local
...
variables section.
2006-02-17 15:33:22 +00:00
Reiner Steib
8086a70c32
Add truncate-lines, ispell-check-comments and
...
ispell-local-dictionary as safe local variables.
2006-02-17 13:42:17 +00:00
Chong Yidong
0a158521c5
* files.el (hack-local-variables-confirm): Kill temp buffer after use.
2006-02-15 01:32:50 +00:00
Chong Yidong
42078bb225
* files.el (hack-local-variables-confirm): Allow scrolling if the
...
file variable list is too long.
2006-02-15 01:21:31 +00:00
Chong Yidong
d450f2a250
* files.el (hack-local-variables): Remove ignored variables before
...
checking if any variables need setting.
2006-02-14 19:54:25 +00:00
Chong Yidong
dd60bebe07
* files.el (hack-local-variables): Only set results if they
...
exist.
2006-02-14 03:47:00 +00:00
Chong Yidong
5a6c1d871e
* files.el (safe-local-variable-values): New option.
...
(hack-local-variables-prop-line): Return a list of variable-value
pairs if MODE-ONLY is non-nil.
(hack-local-variables): Construct list of variable-value pairs,
and apply or reject them in one go. Ask for confirmation if
variables are not known safe.
(hack-local-variables-confirm): Complete rewrite. Support
`safe-local-variable-values'.
(enable-local-variables): Update docstring to reflect new
behavior.
(ignored-local-variables): Ignore ignored-local-variables and
safe-local-variable-values.
(safe-local-variable-p): New function.
(risky-local-variable-p): `safe-local-variable' property check
moved to safe-local-variable-p.
(hack-one-local-variable): Checks moved to hack-local-variables.
(byte-compile-dynamic, c-basic-offset, c-file-style,
c-indent-level, comment-column, fill-column, fill-prefix,
indent-tabs-mode, kept-new-versions, no-byte-compile,
no-update-autoloads, outline-regexp, page-delimiter,
paragraph-start, paragraph-separate, sentence-end,
sentence-end-double-space tab-width, version-control): Add
`safe-local-variable' property.
* find-lisp.el: Delete nonexistent `autocompile' file variable.
* icomplete.el, play/landmark.el: Change nonexistent
`outline-layout' file variable to `allout-layout'.
2006-02-14 01:21:31 +00:00
Richard M. Stallman
a52152f859
(magic-mode-alist): Don't use `\\s ' in regexps.
2006-02-12 20:30:28 +00:00
Eli Zaretskii
518dc5be4e
(revert-buffer, recover-file): Replace buffer-read-only with inhibit-read-only. Suggested by Stefan Monnier.
...
(revert-buffer): Let insert-file-contents discard buffer-undo-list. Simplify
code.
(find-file, find-file-existing, revert-buffer): Doc-string fixes.
2006-02-11 18:42:56 +00:00
Thien-Thi Nguyen
aaef169dc6
Update years in copyright notice; nfc.
2006-02-06 15:23:23 +00:00
Kim F. Storm
5cce080e95
(magic-mode-regexp-match-limit): New defvar.
...
(set-auto-mode): Use it to limit magic-mode-alist matching.
2006-02-04 23:33:53 +00:00
Richard M. Stallman
f36d46caff
(risky-local-variable-p): Follow var aliases.
2006-01-26 17:55:04 +00:00
Masatake YAMATO
3968c89ffe
Added makefile-imake-mode.
2006-01-17 18:11:53 +00:00
Eli Zaretskii
0133dab9be
(basic-save-buffer-2): If backing-up failed, reset buffer-backed-up to nil.
2006-01-06 11:55:35 +00:00
Richard M. Stallman
1af5710156
(set-visited-file-name): Doc fix.
2005-12-27 22:54:13 +00:00
Eli Zaretskii
ec6328a24a
(set-auto-mode): If search for mode specification failed, look for an
...
interpreter specified on the first line.
2005-12-16 15:44:39 +00:00
Reiner Steib
e8f4db18e2
* files.el (save-buffer):
...
* international/ucs-tables.el (ucs-set-table-for-input):
* mail/mail-extr.el (mail-extract-address-components):
* mail/sendmail.el (mail-mode): Reformat doc string.
2005-12-09 16:44:18 +00:00
Bill Wohler
4af6c01113
(auto-mode-alist): Remove mh-letter-mode. Unnecessary, and causes
...
problems with non-MH users (such as Gnus users).
2005-12-08 01:26:14 +00:00