summaryrefslogtreecommitdiff
path: root/lisp/textmodes
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/bib-mode.el5
-rw-r--r--lisp/textmodes/bibtex.el7
-rw-r--r--lisp/textmodes/picture.el5
-rw-r--r--lisp/textmodes/refbib.el3
-rw-r--r--lisp/textmodes/tex-mode.el4
-rw-r--r--lisp/textmodes/texinfo.el4
-rw-r--r--lisp/textmodes/texnfo-upd.el5
7 files changed, 19 insertions, 14 deletions
diff --git a/lisp/textmodes/bib-mode.el b/lisp/textmodes/bib-mode.el
index af6f2ded3f0..14ef2045a7b 100644
--- a/lisp/textmodes/bib-mode.el
+++ b/lisp/textmodes/bib-mode.el
@@ -24,8 +24,6 @@
;; bibliography file. Keys are automagically inserted as you type,
;; and appropriate keys are presented for various kinds of entries.
-(provide 'bib-mode)
-
(defvar bib-file "~/my-bibliography.bib"
"Default name of file used by `addbib'.")
@@ -231,3 +229,6 @@ in the title).")
(insert s)
(capitalize-title-region (point-min) (point-max))
(buffer-string)))
+
+(provide 'bib-mode)
+
diff --git a/lisp/textmodes/bibtex.el b/lisp/textmodes/bibtex.el
index 4be2935fc26..d008fe99b3c 100644
--- a/lisp/textmodes/bibtex.el
+++ b/lisp/textmodes/bibtex.el
@@ -69,7 +69,7 @@
;;; Bengt Martensson, March 6
;;; Adapted to Bibtex 0.99 by updating the optional fields according
;;; to the document BibTeXing, Oren Patashnik, dated January 31, 1988.
-;;; Updated documentation strings accordingly. Added (provide 'bibtex).
+;;; Updated documentation strings accordingly. Added .
;;; If bibtex-include-OPT-crossref is non-nil, every entry will have
;;; an OPTcrossref field, analogously for bibtex-include-OPTkey and
;;; bibtex-include-OPTannote. Added bibtex-preamble, bound to ^C^EP,
@@ -139,8 +139,6 @@
;;; Trouble is, in Emacs 18.44 you can't have a mode-specific mouse binding,
;;; so it will remain active in all windows. Yuck!
-(provide 'bibtex)
-
(defvar bibtex-mode-syntax-table nil "")
(defvar bibtex-mode-abbrev-table nil "")
(define-abbrev-table 'bibtex-mode-abbrev-table ())
@@ -1101,3 +1099,6 @@ an undefined location.
)) ; matches (if...
;;; ------------- end bibtex-mode.el -------------------------------
+
+(provide 'bibtex)(provide 'bibtex)
+
diff --git a/lisp/textmodes/picture.el b/lisp/textmodes/picture.el
index 2c1ab18bef2..a72dee496ae 100644
--- a/lisp/textmodes/picture.el
+++ b/lisp/textmodes/picture.el
@@ -19,8 +19,6 @@
;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
-(provide 'picture)
-
(defun move-to-column-force (column)
"Move to column COLUMN in current line.
Differs from `move-to-column' in that it creates or modifies whitespace
@@ -558,3 +556,6 @@ With no argument strips whitespace from end of every line in Picture buffer
(goto-char (point-min))
(while (re-search-forward "[ \t][ \t]*$" nil t)
(delete-region (match-beginning 0) (point)))))
+
+(provide 'picture)
+
diff --git a/lisp/textmodes/refbib.el b/lisp/textmodes/refbib.el
index 149c2f7e5c6..cba3a2ba0f5 100644
--- a/lisp/textmodes/refbib.el
+++ b/lisp/textmodes/refbib.el
@@ -44,7 +44,6 @@
; modified 3/1/89, fixed capitialize-title for first words all caps
; modified 3/15/89, allow use of " to delimit fields
; modified 4/18/89, properly "quote" special characters on output
-(provide 'refer-to-bibtex)
;**********************************************************
; User Parameters
@@ -708,3 +707,5 @@ To see this message again, perform
(r2b-help))
(message "r2b loaded")
+
+(provide 'refer-to-bibtex)
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el
index 3f0a062a11d..eb5ff51e932 100644
--- a/lisp/textmodes/tex-mode.el
+++ b/lisp/textmodes/tex-mode.el
@@ -33,8 +33,6 @@
;; The code for finding matching $ needs to be fixed.
(require 'oshell)
-(provide 'tex-mode)
-
(defvar tex-directory "./"
"*Directory in which to run TeX subjob. Temporary files are created here.")
@@ -803,3 +801,5 @@ Runs the shell command defined by tex-show-queue-command."
(concat tex-bibtex-command " \"" tex-out-file "\"\n")))
(tex-recenter-output-buffer 0))
+(provide 'tex-mode)
+
diff --git a/lisp/textmodes/texinfo.el b/lisp/textmodes/texinfo.el
index 9a7192ac673..edb72a8ed54 100644
--- a/lisp/textmodes/texinfo.el
+++ b/lisp/textmodes/texinfo.el
@@ -23,8 +23,6 @@
(require 'texnfo-upd)
(require 'tex-mode)
-(provide 'texinfo)
-
(defvar texinfo-mode-syntax-table nil)
(if texinfo-mode-syntax-table
@@ -413,3 +411,5 @@ Runs the shell command defined by tex-dvi-print-command."
" " tex-zap-file ".dvi" "\n"))
(tex-recenter-output-buffer nil))
+(provide 'texinfo)
+
diff --git a/lisp/textmodes/texnfo-upd.el b/lisp/textmodes/texnfo-upd.el
index c236d791846..6954952ca61 100644
--- a/lisp/textmodes/texnfo-upd.el
+++ b/lisp/textmodes/texnfo-upd.el
@@ -21,8 +21,6 @@
;; along with GNU Emacs; see the file COPYING. If not, write to
;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
-(provide 'texnfo-upd)
-
;;;; Summary
@@ -1724,3 +1722,6 @@ chapter."
(message "Multiple files updated."))
;;;;;;;;;;;;;;;; end texnfo-upd.el ;;;;;;;;;;;;;;;;
+
+(provide 'texnfo-upd)
+