aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2002-07-20 22:02:57 +0000
committerRichard M. Stallman2002-07-20 22:02:57 +0000
commita5dd5f602fde162160abf95750bbf0a417142b66 (patch)
tree54aaeb478b2234e85f57def577e2a13d787ac7f3
parent22788fb81788a50f53af2ea991cd0b1b97086d42 (diff)
downloademacs-a5dd5f602fde162160abf95750bbf0a417142b66.tar.gz
emacs-a5dd5f602fde162160abf95750bbf0a417142b66.zip
(toggle-read-only): Clean up the hint message.
-rw-r--r--lisp/ChangeLog20
-rw-r--r--lisp/files.el4
2 files changed, 22 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 59f0b1de12b..bb46820e26e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,23 @@
12002-07-20 Richard M. Stallman <rms@gnu.org>
2
3 * files.el (toggle-read-only): Clean up the hint message.
4
5 * emacs-lisp/bytecomp.el: Use warnings.el.
6 (byte-compile-warning-prefix): New function.
7 (byte-compile-log-file): Return page start position.
8 (byte-compile-log-warning): New function.
9 (byte-compile-warn): Use byte-compile-log-warning.
10 (byte-compile-report-error): Likewise. Also use error-message-string.
11 (displaying-byte-compile-warnings): Bind warning-series.
12 Don't bind or use byte-compile-warnings-point-max.
13 Don't display the log buffer at the end.
14 (byte-compile-warnings-point-max): Variable deleted.
15 (byte-compile-log-1): Rewrite for trace info, not used for warnings.
16 (byte-compile-last-warned-form, byte-compile-last-logged-file):
17 Defvars moved.
18
19 * warnings.el: New file.
20
12002-07-19 Richard M. Stallman <rms@gnu.org> 212002-07-19 Richard M. Stallman <rms@gnu.org>
2 22
3 * emacs-lisp/bytecomp.el (byte-compile-cl-warn): Delete `values' 23 * emacs-lisp/bytecomp.el (byte-compile-cl-warn): Delete `values'
diff --git a/lisp/files.el b/lisp/files.el
index 81143edbc63..51fde3fd271 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -3074,8 +3074,8 @@ If visiting file read-only and `view-read-only' is non-nil, enter view mode."
3074 (force-mode-line-update))) 3074 (force-mode-line-update)))
3075 (if (vc-backend buffer-file-name) 3075 (if (vc-backend buffer-file-name)
3076 (message (substitute-command-keys 3076 (message (substitute-command-keys
3077 (concat "File is under version-control, " 3077 (concat "File is under version-control; "
3078 "consider \\[vc-next-action] to check in/out")))))) 3078 "use \\[vc-next-action] to check in/out"))))))
3079 3079
3080(defun insert-file (filename) 3080(defun insert-file (filename)
3081 "Insert contents of file FILENAME into buffer after point. 3081 "Insert contents of file FILENAME into buffer after point.