Merge remote-tracking branch 'origin/master' into for-steve
[sxemacs] / tests / redisplay-tests.el
1 ;; Copyright (C) 2000 Free Software Foundation, Inc.
2
3 ;; Author: Yoshiki Hayashi  <yoshiki@xemacs.org>
4 ;; Maintainer: Yoshiki Hayashi  <yoshiki@xemacs.org>
5 ;; Created: 2000
6 ;; Keywords: tests
7
8 ;; This file is part of SXEmacs.
9
10 ;; SXEmacs is free software: you can redistribute it and/or modify it
11 ;; under the terms of the GNU General Public License as published by the
12 ;; Free Software Foundation, either version 3 of the License, or (at your
13 ;; option) any later version.
14
15 ;; SXEmacs is distributed in the hope that it will be
16 ;; useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18 ;; General Public License for more details.
19
20 ;; You should have received a copy of the GNU General Public License
21 ;; along with this program.  If not, see <http://www.gnu.org/licenses/>.
22
23 ;;; Synched up with: Not in FSF.
24
25 ;;; Commentary:
26
27 ;; Redisplay related tests.
28
29 ;; This used to crash XEmacs.
30 (when (featurep 'mule)
31   (let ((buffer (generate-new-buffer "*split test*")))
32     (set-window-buffer (selected-window) buffer)
33     (split-window-vertically)
34     (insert (make-char 'japanese-jisx0208 36 44))
35     (backward-char)
36     (redraw-frame)
37     (delete-other-windows)
38     (split-window)
39     (kill-buffer buffer)
40     (delete-other-windows)))