aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero <[email protected]>2002-07-03 09:17:47 +0000
committerJuanma Barranquero <[email protected]>2002-07-03 09:17:47 +0000
commit9af6aa14adbd01c01e3d9ebc75192b6cf950ea13 (patch)
tree11db2ce07d9bc199f8bd14f715b89c4527ac0d64
parenta7ac92b6ec595d6fdd8c91a493cc807149dc8b1e (diff)
(chars-in-region): Add obsolescence declaration for `chars-in-region'.
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/subr.el1
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index c333a967f6..623a4c17fe 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2002-07-03 Juanma Barranquero <[email protected]>
+
+ * subr.el (chars-in-region): Add obsolescence declaration for
+ `chars-in-region'.
+
2002-07-03 Miles Bader <[email protected]>
* faces.el (header-line): Don't use a `common' clause for
@@ -13,7 +18,7 @@
Check for `eval:' calling fn with `safe-local-eval-function' property.
(hack-one-local-variable): Use hack-one-local-variable-eval-safep.
(c-add-style, c-set-style): Add safe-local-eval-function property.
-
+
* files.el (insert-directory): Handle --dired option to ls.
* files.el (file-remote-p): New function.
diff --git a/lisp/subr.el b/lisp/subr.el
index 289aaaaf20..94aedd0dce 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -700,6 +700,7 @@ as returned by the `event-start' and `event-end' functions."
(defalias 'sref 'aref)
(make-obsolete 'sref 'aref "20.4")
(make-obsolete 'char-bytes "now always returns 1 (maintained for backward compatibility)." "20.4")
+(make-obsolete 'chars-in-region "use (abs (- BEG END))." "20.3")
(defun insert-string (&rest args)
"Mocklisp-compatibility insert function.