diff options
| author | Stefan Monnier | 2004-03-19 01:03:22 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2004-03-19 01:03:22 +0000 |
| commit | 6c89b0e404ace3ecf9d36b50fd3fcb27147cfa87 (patch) | |
| tree | ae47673f9d75d862f0114c7b095ab031c038fa08 | |
| parent | 5b421c815475955e928c2b2471a96569c81ca55e (diff) | |
| download | emacs-6c89b0e404ace3ecf9d36b50fd3fcb27147cfa87.tar.gz emacs-6c89b0e404ace3ecf9d36b50fd3fcb27147cfa87.zip | |
(standard-display-8bit): Simplify.
| -rw-r--r-- | lisp/disp-table.el | 6 |
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 @@ | |||
| 1 | ;;; disp-table.el --- functions for dealing with char tables | 1 | ;;; disp-table.el --- functions for dealing with char tables |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1987, 1994, 1995, 1999 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1987, 94, 95, 1999, 2004 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Erik Naggum <erik@naggum.no> | 5 | ;; Author: Erik Naggum <erik@naggum.no> |
| 6 | ;; Based on a previous version by Howard Gayle | 6 | ;; Based on a previous version by Howard Gayle |
| @@ -116,9 +116,7 @@ Valid symbols are `truncation', `wrap', `escape', `control', | |||
| 116 | (or standard-display-table | 116 | (or standard-display-table |
| 117 | (setq standard-display-table (make-display-table))) | 117 | (setq standard-display-table (make-display-table))) |
| 118 | (while (<= l h) | 118 | (while (<= l h) |
| 119 | (if (and (>= l ?\ ) (< l 127)) | 119 | (aset standard-display-table l (if (or (< l ?\ ) (>= l 127)) (vector l))) |
| 120 | (aset standard-display-table l nil) | ||
| 121 | (aset standard-display-table l (vector l))) | ||
| 122 | (setq l (1+ l)))) | 120 | (setq l (1+ l)))) |
| 123 | 121 | ||
| 124 | ;;;###autoload | 122 | ;;;###autoload |