aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorEric S. Raymond1992-05-30 22:12:04 +0000
committerEric S. Raymond1992-05-30 22:12:04 +0000
commit6594deb0dcec8f1a663fc47b0588a7b4c935a6c5 (patch)
tree29925fd14277477ef3fa88270c19785985926c04 /lisp/textmodes
parentc88ab9ce4a0dbacb1f5bd272c1e7419f1e0f4b9d (diff)
downloademacs-6594deb0dcec8f1a663fc47b0588a7b4c935a6c5.tar.gz
emacs-6594deb0dcec8f1a663fc47b0588a7b4c935a6c5.zip
*** empty log message ***
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/nroff-mode.el6
-rw-r--r--lisp/textmodes/ooutline.el4
-rw-r--r--lisp/textmodes/page-ext.el6
-rw-r--r--lisp/textmodes/page.el6
-rw-r--r--lisp/textmodes/paragraphs.el5
-rw-r--r--lisp/textmodes/picture.el4
-rw-r--r--lisp/textmodes/refbib.el5
7 files changed, 25 insertions, 11 deletions
diff --git a/lisp/textmodes/nroff-mode.el b/lisp/textmodes/nroff-mode.el
index 35bf4213615..4806273cab8 100644
--- a/lisp/textmodes/nroff-mode.el
+++ b/lisp/textmodes/nroff-mode.el
@@ -1,4 +1,4 @@
1;; GNU Emacs major mode for editing nroff source 1;;; nroff-mode.el --- GNU Emacs major mode for editing nroff source
2;; Copyright (C) 1985, 1986 Free Software Foundation, Inc. 2;; Copyright (C) 1985, 1986 Free Software Foundation, Inc.
3 3
4;; This file is part of GNU Emacs. 4;; This file is part of GNU Emacs.
@@ -17,8 +17,6 @@
17;; along with GNU Emacs; see the file COPYING. If not, write to 17;; along with GNU Emacs; see the file COPYING. If not, write to
18;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 18;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
19 19
20
21
22(defvar nroff-mode-abbrev-table nil 20(defvar nroff-mode-abbrev-table nil
23 "Abbrev table used while in nroff mode.") 21 "Abbrev table used while in nroff mode.")
24 22
@@ -34,6 +32,7 @@
34 (define-key nroff-mode-map "\en" 'forward-text-line) 32 (define-key nroff-mode-map "\en" 'forward-text-line)
35 (define-key nroff-mode-map "\ep" 'backward-text-line))) 33 (define-key nroff-mode-map "\ep" 'backward-text-line)))
36 34
35;;;###autoload
37(defun nroff-mode () 36(defun nroff-mode ()
38 "Major mode for editing text intended for nroff to format. 37 "Major mode for editing text intended for nroff to format.
39\\{nroff-mode-map} 38\\{nroff-mode-map}
@@ -200,3 +199,4 @@ turns it on iff arg is positive, otherwise off."
200 (cond ((null arg) (null nroff-electric-mode)) 199 (cond ((null arg) (null nroff-electric-mode))
201 (t (> (prefix-numeric-value arg) 0))))) 200 (t (> (prefix-numeric-value arg) 0)))))
202 201
202;;; nroff-mode.el ends here
diff --git a/lisp/textmodes/ooutline.el b/lisp/textmodes/ooutline.el
index 33b716d8120..3580c1e54b5 100644
--- a/lisp/textmodes/ooutline.el
+++ b/lisp/textmodes/ooutline.el
@@ -1,4 +1,5 @@
1;; Outline mode commands for Emacs 1;;; outline.el --- outline mode commands for Emacs
2
2;; Copyright (C) 1986 Free Software Foundation, Inc. 3;; Copyright (C) 1986 Free Software Foundation, Inc.
3 4
4;; This file is part of GNU Emacs. 5;; This file is part of GNU Emacs.
@@ -395,3 +396,4 @@ and return that position or nil if it cannot be found."
395 nil 396 nil
396 (point)))) 397 (point))))
397 398
399;;; outline.el ends here
diff --git a/lisp/textmodes/page-ext.el b/lisp/textmodes/page-ext.el
index c17fa187551..13f331c4312 100644
--- a/lisp/textmodes/page-ext.el
+++ b/lisp/textmodes/page-ext.el
@@ -1,6 +1,5 @@
1;;;; page-ext.el 1;;; page-ext.el --- page handling commands
2 2
3;;; Page handling commands
4;;; by Robert J. Chassell 3;;; by Robert J. Chassell
5 4
6;;; You may use these commands to handle an address list or other 5;;; You may use these commands to handle an address list or other
@@ -742,4 +741,5 @@ to the same line in the pages buffer."
742 (make-local-variable 'pages-pos-list) 741 (make-local-variable 'pages-pos-list)
743 (make-local-variable 'pages-directory-buffer-narrowing-p)) 742 (make-local-variable 'pages-directory-buffer-narrowing-p))
744 743
745;;;;;;;;;;;;;;;; end of page-ext.el ;;;;;;;;;;;;;;;; 744;;; page-ext.el ends here
745
diff --git a/lisp/textmodes/page.el b/lisp/textmodes/page.el
index 576e23a7560..935e19bdba4 100644
--- a/lisp/textmodes/page.el
+++ b/lisp/textmodes/page.el
@@ -1,4 +1,5 @@
1;; Page motion commands for emacs. 1;;; page.el --- page motion commands for emacs.
2
2;; Copyright (C) 1985 Free Software Foundation, Inc. 3;; Copyright (C) 1985 Free Software Foundation, Inc.
3 4
4;; This file is part of GNU Emacs. 5;; This file is part of GNU Emacs.
@@ -89,6 +90,7 @@ thus showing a page other than the one point was originally in."
89 (if (and (eolp) (not (bobp))) 90 (if (and (eolp) (not (bobp)))
90 (forward-line 1)) 91 (forward-line 1))
91 (point))))) 92 (point)))))
93(put 'narrow-to-page 'disabled t)
92 94
93(defun count-lines-page () 95(defun count-lines-page ()
94 "Report number of lines on current page, and how many are before or after point." 96 "Report number of lines on current page, and how many are before or after point."
@@ -123,3 +125,5 @@ thus showing a page other than the one point was originally in."
123 (message "Page %d, line %d" 125 (message "Page %d, line %d"
124 count 126 count
125 (1+ (count-lines (point) opoint))))))) 127 (1+ (count-lines (point) opoint)))))))
128
129;;; page.el ends here
diff --git a/lisp/textmodes/paragraphs.el b/lisp/textmodes/paragraphs.el
index 55b9fc6e45a..2235c0b903a 100644
--- a/lisp/textmodes/paragraphs.el
+++ b/lisp/textmodes/paragraphs.el
@@ -1,4 +1,5 @@
1;; Paragraph and sentence parsing. 1;;; paragraphs.el --- paragraph and sentence parsing.
2
2;; Copyright (C) 1985-1991 Free Software Foundation, Inc. 3;; Copyright (C) 1985-1991 Free Software Foundation, Inc.
3 4
4;; This file is part of GNU Emacs. 5;; This file is part of GNU Emacs.
@@ -228,3 +229,5 @@ With arg, repeat, or kill forward to Nth end of sentence if negative arg -N."
228 "Interchange this (next) and previous sentence." 229 "Interchange this (next) and previous sentence."
229 (interactive "*p") 230 (interactive "*p")
230 (transpose-subr 'forward-sentence arg)) 231 (transpose-subr 'forward-sentence arg))
232
233;;; paragraphs.el ends here
diff --git a/lisp/textmodes/picture.el b/lisp/textmodes/picture.el
index a72dee496ae..516ccd646de 100644
--- a/lisp/textmodes/picture.el
+++ b/lisp/textmodes/picture.el
@@ -1,4 +1,5 @@
1;; "Picture mode" -- editing using quarter-plane screen model. 1;;; picture.el --- "Picture mode" -- editing using quarter-plane screen model.
2
2;; Copyright (C) 1985 Free Software Foundation, Inc. 3;; Copyright (C) 1985 Free Software Foundation, Inc.
3;; Principal author K. Shane Hartman 4;; Principal author K. Shane Hartman
4 5
@@ -559,3 +560,4 @@ With no argument strips whitespace from end of every line in Picture buffer
559 560
560(provide 'picture) 561(provide 'picture)
561 562
563;;; picture.el ends here
diff --git a/lisp/textmodes/refbib.el b/lisp/textmodes/refbib.el
index cba3a2ba0f5..e0eb0614d70 100644
--- a/lisp/textmodes/refbib.el
+++ b/lisp/textmodes/refbib.el
@@ -1,4 +1,5 @@
1;; Convert refer-style bibliographic entries to ones usable by latex bib 1;;; refbib.el --- convert refer-style references to ones usable by Latex bib
2
2;; Copyright (C) 1989 Free Software Foundation, Inc. 3;; Copyright (C) 1989 Free Software Foundation, Inc.
3 4
4;; This file is part of GNU Emacs. 5;; This file is part of GNU Emacs.
@@ -709,3 +710,5 @@ To see this message again, perform
709(message "r2b loaded") 710(message "r2b loaded")
710 711
711(provide 'refer-to-bibtex) 712(provide 'refer-to-bibtex)
713
714;;; refbib.el ends here