summaryrefslogtreecommitdiff
path: root/lisp/disp-table.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2004-03-19 01:03:22 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2004-03-19 01:03:22 +0000
commit6c89b0e404ace3ecf9d36b50fd3fcb27147cfa87 (patch)
treeae47673f9d75d862f0114c7b095ab031c038fa08 /lisp/disp-table.el
parent5b421c815475955e928c2b2471a96569c81ca55e (diff)
downloademacs-6c89b0e404ace3ecf9d36b50fd3fcb27147cfa87.tar.gz
(standard-display-8bit): Simplify.
Diffstat (limited to 'lisp/disp-table.el')
-rw-r--r--lisp/disp-table.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/disp-table.el b/lisp/disp-table.el
index 6403b7de8b0..87781f5f8ae 100644
--- a/lisp/disp-table.el
+++ b/lisp/disp-table.el
@@ -1,6 +1,6 @@
;;; disp-table.el --- functions for dealing with char tables
-;; Copyright (C) 1987, 1994, 1995, 1999 Free Software Foundation, Inc.
+;; Copyright (C) 1987, 94, 95, 1999, 2004 Free Software Foundation, Inc.
;; Author: Erik Naggum <erik@naggum.no>
;; Based on a previous version by Howard Gayle
@@ -116,9 +116,7 @@ Valid symbols are `truncation', `wrap', `escape', `control',
(or standard-display-table
(setq standard-display-table (make-display-table)))
(while (<= l h)
- (if (and (>= l ?\ ) (< l 127))
- (aset standard-display-table l nil)
- (aset standard-display-table l (vector l)))
+ (aset standard-display-table l (if (or (< l ?\ ) (>= l 127)) (vector l)))
(setq l (1+ l))))
;;;###autoload