Mercurial > emacs
comparison lisp/view.el @ 807:4f28bd14272c
*** empty log message ***
author | Eric S. Raymond <esr@snark.thyrsus.com> |
---|---|
date | Thu, 16 Jul 1992 21:47:34 +0000 |
parents | fec3f9a1e3e5 |
children | 113281b361ec |
comparison
equal
deleted
inserted
replaced
806:d42e1151eed8 | 807:4f28bd14272c |
---|---|
1 ;;; view.el --- peruse file or buffer without editing. | 1 ;;; view.el --- peruse file or buffer without editing. |
2 | 2 |
3 ;; Author: K. Shane Hartman | |
4 ;; Maintainer: FSF | |
5 ;; Last-Modified: 21 Aug 1988 | |
6 | |
3 ;; Copyright (C) 1985, 1989 Free Software Foundation, Inc. | 7 ;; Copyright (C) 1985, 1989 Free Software Foundation, Inc. |
4 ;; Principal author K. Shane Hartman | |
5 | 8 |
6 ;; This file is part of GNU Emacs. | 9 ;; This file is part of GNU Emacs. |
7 | 10 |
8 ;; 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 |
9 ;; 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 |
10 ;; the Free Software Foundation; either version 1, or (at your option) | 13 ;; the Free Software Foundation; either version 2, or (at your option) |
11 ;; any later version. | 14 ;; any later version. |
12 | 15 |
13 ;; 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, |
14 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | 17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of |
15 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
17 | 20 |
18 ;; 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 |
19 ;; 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 |
20 ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. | 23 ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
21 | 24 |
25 ;;; Code: | |
22 | 26 |
23 (defvar view-mode-map nil) | 27 (defvar view-mode-map nil) |
24 (if view-mode-map | 28 (if view-mode-map |
25 nil | 29 nil |
26 (setq view-mode-map (make-keymap)) | 30 (setq view-mode-map (make-keymap)) |