From f65c6d9453c3d7ef38f8a183fddcace3c5020c34 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Wed, 3 Jul 2002 22:47:00 +0000 Subject: [PATCH] Comment. --- lisp/isearch.el | 1 + lisp/simple.el | 1 + src/character.h | 2 +- src/sysdep.c | 2 ++ 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/isearch.el b/lisp/isearch.el index a3d85dd636a..446675c7b8d 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -235,6 +235,7 @@ Default value, nil, means edit the string instead." (char-table-p (nth 1 map)) (error "The initialization of isearch-mode-map must be updated")) ;; Make all multibyte characters search for themselves. + ;; Fixme: is this range right? (set-char-table-range (nth 1 map) (cons #x100 #x2FFFFF) 'isearch-printing-char) ;; Make function keys, etc, exit the search. diff --git a/lisp/simple.el b/lisp/simple.el index e1d0ad7007e..36d1ce52c5e 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -532,6 +532,7 @@ in *Help* buffer. See also the command `describe-char-after'." (if (or (not coding) (eq (coding-system-type coding) t)) (setq coding default-buffer-file-coding-system)) + ;; Fixme: can we actually have invalid chars now? (if (not (char-valid-p char)) (setq encoding-msg (format "(0%o, %d, 0x%x, invalid)" char char char)) diff --git a/src/character.h b/src/character.h index 35e46e2ff90..969a3e801db 100644 --- a/src/character.h +++ b/src/character.h @@ -77,7 +77,7 @@ Boston, MA 02111-1307, USA. */ /* Nonzero iff X is a character. */ #define CHARACTERP(x) (NATNUMP (x) && XFASTINT (x) <= MAX_CHAR) -/* Nozero iff C is valid as a charater code. GENERICP is not used +/* Nonzero iff C is valid as a character code. GENERICP is not used now. */ #define CHAR_VALID_P(c, genericp) ((unsigned) (c) <= MAX_CHAR) diff --git a/src/sysdep.c b/src/sysdep.c index f560e9d7cf2..ab9398938a8 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -3082,6 +3082,8 @@ seed_random (arg) long arg; { #ifdef HAVE_RANDOM + /* Fixme: needs __USE_XOPEN_EXTENDED defined to be picked up from + GNU stdlib.h. */ srandom ((unsigned int)arg); #else # ifdef HAVE_LRAND48 -- 2.39.5