comparison lisp/rot13.el @ 807:4f28bd14272c

*** empty log message ***
author Eric S. Raymond <esr@snark.thyrsus.com>
date Thu, 16 Jul 1992 21:47:34 +0000
parents 7cbd4fcd8b0f
children 213978acbc1e
comparison
equal deleted inserted replaced
806:d42e1151eed8 807:4f28bd14272c
1 ;;; rot13.el --- display a buffer in rot13. 1 ;;; rot13.el --- display a buffer in rot13.
2
3 ;; Author: Howard Gayle:
4 ;; Maintainer: FSF
5 ;; Last-Modified: 16 Mar 1992
2 6
3 ;; Copyright (C) 1988 Free Software Foundation, Inc. 7 ;; Copyright (C) 1988 Free Software Foundation, Inc.
4 8
5 ;; This file is part of GNU Emacs. 9 ;; This file is part of GNU Emacs.
6 10
7 ;; GNU Emacs is free software; you can redistribute it and/or modify 11 ;; GNU Emacs is free software; you can redistribute it and/or modify
8 ;; it under the terms of the GNU General Public License as published by 12 ;; it under the terms of the GNU General Public License as published by
9 ;; the Free Software Foundation; either version 1, or (at your option) 13 ;; the Free Software Foundation; either version 2, or (at your option)
10 ;; any later version. 14 ;; any later version.
11 15
12 ;; GNU Emacs is distributed in the hope that it will be useful, 16 ;; GNU Emacs is distributed in the hope that it will be useful,
13 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of 17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
14 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 20
17 ;; You should have received a copy of the GNU General Public License 21 ;; You should have received a copy of the GNU General Public License
18 ;; along with GNU Emacs; see the file COPYING. If not, write to 22 ;; along with GNU Emacs; see the file COPYING. If not, write to
19 ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 23 ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 24
25 ;; Commentary:
21 26
22 ;; Written by Howard Gayle. See case-table.el for details. 27 ;; Written by Howard Gayle. See case-table.el for details.
23 28
24 ;; This hack is mainly to show off the char table stuff. 29 ;; This hack is mainly to show off the char table stuff.
30
31 ;;; Code:
25 32
26 (defvar rot13-display-table 33 (defvar rot13-display-table
27 (let ((table (make-display-table)) 34 (let ((table (make-display-table))
28 (i 0)) 35 (i 0))
29 (while (< i 26) 36 (while (< i 26)