[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: defcustom texinfo-mode-hook in texinfo.el
From: |
Simon Josefsson |
Subject: |
Re: defcustom texinfo-mode-hook in texinfo.el |
Date: |
Tue, 30 Dec 2003 00:34:32 +0100 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) |
address@hidden (Karl Berry) writes:
> +(defcustom texinfo-mode-hook nil
>
> Hi Simon, please send it to bug-emacs, ok? The Elisp files are only
> distributed as part of Emacs now, I managed to successfully shuffle them
> off :).
>
> The change seems fine to me, FWIW.
Hello Karl. Wildo. Perhaps also update the Maintainer field, then?
;;; texinfo.el --- major mode for editing Texinfo files
;; Author: Robert J. Chassell
;; Date: [See date below for texinfo-version]
;; Maintainer: address@hidden
;; Keywords: maint, tex, docs
In fact, I might as well test my emacs cvs commit capabilities now
that savannah is back up, so please say the word and I'll install the
following, instead.
2003-12-30 Simon Josefsson <address@hidden>
* textmodes/texinfo.el: Change maintainer to FSF. Suggested by
address@hidden (Karl Berry).
(texinfo-mode-hook): Add.
Index: texinfo.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/textmodes/texinfo.el,v
retrieving revision 1.97
diff -u -p -u -w -r1.97 texinfo.el
--- texinfo.el 1 Sep 2003 15:45:40 -0000 1.97
+++ texinfo.el 29 Dec 2003 23:31:56 -0000
@@ -5,7 +5,7 @@
;; Author: Robert J. Chassell
;; Date: [See date below for texinfo-version]
-;; Maintainer: address@hidden
+;; Maintainer: FSF
;; Keywords: maint, tex, docs
;; This file is part of GNU Emacs.
@@ -57,6 +57,12 @@
(defcustom texinfo-close-quote "''"
"*String inserted by typing \\[texinfo-insert-quote] to close a quotation."
:type 'string
+ :group 'texinfo)
+
+(defcustom texinfo-mode-hook nil
+ "Normal hook run when entering Texinfo mode."
+ :type 'hook
+ :options '(turn-on-auto-fill flyspell-mode)
:group 'texinfo)