unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: Info-mode's mode-hook isn't visible
Date: Mon, 02 Feb 2004 13:55:53 -0700	[thread overview]
Message-ID: <401EB959.7040106@yahoo.com> (raw)
In-Reply-To: mailman.1666.1075579509.928.bug-gnu-emacs@gnu.org

mace wrote:

> On "GNU Emacs 21.2.1 (alpha-debian-linux-gnu, X toolkit, Xaw3d scroll
> bars) of 2002-03-27 on escher, modified by Debian" from a standard
> Debian package, i'm getting this minor bug:
> 
> I noticed that the Info mode doesn't make it's "Info-mode-hook" visible
> with C-h v Info-mode-hook or such. It is evaluated however, on Info
> startup, so it works just fine if defined.


*** emacs-21.3/lisp/info.el.orig	Fri Dec 21 12:08:17 2001
--- emacs-21.3/lisp//info.el	Mon Feb  2 13:53:32 2004
***************
*** 963,968 ****
--- 963,973 ----
  (defvar Info-header-line nil
    "If the info node header is hidden, the text of the header.")
  
+ (defcustom Info-selection-hook nil
+   "Normal hook run by `Info-select-node'."
+   :type 'hook
+   :group 'info)
+ 
  (defun Info-select-node ()
  "Select the info node that point is in.
  Bind this in case the user sets it to nil."
***************
*** 2232,2237 ****
--- 2237,2247 ----
  ;; Info mode is suitable only for specially formatted data.
  (put 'Info-mode 'mode-class 'special)
  
+ (defcustom Info-mode-hook nil
+   "Normal hook run by `Info-mode-node'."
+   :type 'hook
+   :group 'info)
+ 
  (defun Info-mode ()
    "Info mode provides commands for browsing through the Info documentation tree.
  Documentation in Info is divided into \"nodes\", each of which discusses
***************
*** 2333,2338 ****
--- 2343,2353 ----
  ;; Info-edit mode is suitable only for specially formatted data.
  (put 'Info-edit-mode 'mode-class 'special)
  
+ (defcustom Info-edit-mode-hook nil
+   "Normal hook run by `Info-edit-mode-node'."
+   :type 'hook
+   :group 'info)
+ 
  (defun Info-edit-mode ()
    "Major mode for editing the contents of an Info node.
  Like text mode with the addition of `Info-cease-edit'


-- 
Kevin Rodgers

       reply	other threads:[~2004-02-02 20:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1666.1075579509.928.bug-gnu-emacs@gnu.org>
2004-02-02 20:55 ` Kevin Rodgers [this message]
2004-01-31 20:04 Info-mode's mode-hook isn't visible mace

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=401EB959.7040106@yahoo.com \
    --to=ihs_4664@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).