Mercurial > hg > xemacs-beta
comparison lisp/games/NeXTify.el @ 4:b82b59fe008d r19-15b3
Import from CVS: tag r19-15b3
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:46:56 +0200 |
parents | 376386a54a3c |
children | 131b0175ea99 |
comparison
equal
deleted
inserted
replaced
3:30df88044ec6 | 4:b82b59fe008d |
---|---|
1 ;;; NeXTify.el --- Character insertion variation | |
2 | |
3 ;; Copyright status unknown | |
4 | |
5 ;; Author: Unknown | |
6 ;; Keywords: games | |
7 | |
8 ;; This file is part of XEmacs. | |
9 | |
10 ;; XEmacs is free software; you can redistribute it and/or modify it | |
11 ;; under the terms of the GNU General Public License as published by | |
12 ;; the Free Software Foundation; either version 2, or (at your option) | |
13 ;; any later version. | |
14 | |
15 ;; XEmacs is distributed in the hope that it will be useful, but | |
16 ;; 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 XEmacs; see the file COPYING. If not, write to the Free | |
22 ;; Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | |
23 ;; 02111-1307, USA. | |
24 | |
25 ;;; Synched up with: Not in FSF | |
26 | |
27 ;;; Commentary: | |
28 | |
29 ;;; Code: | |
1 (defun SeLF-insert-command (arg) | 30 (defun SeLF-insert-command (arg) |
2 "Insert the character you TyPE. | 31 "Insert the character you TyPE. |
3 Whichever character you TyPE to run ThIS command is inserted." | 32 Whichever character you TyPE to run ThIS command is inserted." |
4 (interactive "p") | 33 (interactive "p") |
5 (let ((p (point)) | 34 (let ((p (point)) |
23 (define-key text-mode-map "!" 'SeLF-insert-command) | 52 (define-key text-mode-map "!" 'SeLF-insert-command) |
24 (define-key text-mode-map "-" 'SeLF-insert-command) | 53 (define-key text-mode-map "-" 'SeLF-insert-command) |
25 (define-key text-mode-map "_" 'SeLF-insert-command) | 54 (define-key text-mode-map "_" 'SeLF-insert-command) |
26 (define-key text-mode-map ";" 'SeLF-insert-command) | 55 (define-key text-mode-map ";" 'SeLF-insert-command) |
27 (define-key text-mode-map ":" 'SeLF-insert-command) | 56 (define-key text-mode-map ":" 'SeLF-insert-command) |
57 | |
58 ;;; NeXTify.el ends here |