aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2002-07-03 09:17:47 +0000
committerJuanma Barranquero2002-07-03 09:17:47 +0000
commit9af6aa14adbd01c01e3d9ebc75192b6cf950ea13 (patch)
tree11db2ce07d9bc199f8bd14f715b89c4527ac0d64
parenta7ac92b6ec595d6fdd8c91a493cc807149dc8b1e (diff)
downloademacs-9af6aa14adbd01c01e3d9ebc75192b6cf950ea13.tar.gz
emacs-9af6aa14adbd01c01e3d9ebc75192b6cf950ea13.zip
(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 c333a967f69..623a4c17fef 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12002-07-03 Juanma Barranquero <lektu@terra.es>
2
3 * subr.el (chars-in-region): Add obsolescence declaration for
4 `chars-in-region'.
5
12002-07-03 Miles Bader <miles@gnu.org> 62002-07-03 Miles Bader <miles@gnu.org>
2 7
3 * faces.el (header-line): Don't use a `common' clause for 8 * faces.el (header-line): Don't use a `common' clause for
@@ -13,7 +18,7 @@
13 Check for `eval:' calling fn with `safe-local-eval-function' property. 18 Check for `eval:' calling fn with `safe-local-eval-function' property.
14 (hack-one-local-variable): Use hack-one-local-variable-eval-safep. 19 (hack-one-local-variable): Use hack-one-local-variable-eval-safep.
15 (c-add-style, c-set-style): Add safe-local-eval-function property. 20 (c-add-style, c-set-style): Add safe-local-eval-function property.
16 21
17 * files.el (insert-directory): Handle --dired option to ls. 22 * files.el (insert-directory): Handle --dired option to ls.
18 23
19 * files.el (file-remote-p): New function. 24 * files.el (file-remote-p): New function.
diff --git a/lisp/subr.el b/lisp/subr.el
index 289aaaaf20e..94aedd0dceb 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -700,6 +700,7 @@ as returned by the `event-start' and `event-end' functions."
700(defalias 'sref 'aref) 700(defalias 'sref 'aref)
701(make-obsolete 'sref 'aref "20.4") 701(make-obsolete 'sref 'aref "20.4")
702(make-obsolete 'char-bytes "now always returns 1 (maintained for backward compatibility)." "20.4") 702(make-obsolete 'char-bytes "now always returns 1 (maintained for backward compatibility)." "20.4")
703(make-obsolete 'chars-in-region "use (abs (- BEG END))." "20.3")
703 704
704(defun insert-string (&rest args) 705(defun insert-string (&rest args)
705 "Mocklisp-compatibility insert function. 706 "Mocklisp-compatibility insert function.