[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to reload Info dir files?

From: Reiner Steib
Subject: Re: how to reload Info dir files?
Date: Mon, 24 Nov 2003 14:09:40 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

On Mon, Nov 24 2003, Mike Ballard wrote:

> Besides restarting emacs how can I get emacs:Info to reload dir files?

See `rs-info-reload' from `rs-info.el' posted last week on
gnu.emacs.sources[1].  This is a newer version, using
`Info-revert-find-node' from Emacs CVS HEAD when available:

(defun rs-info-reload ()
  "Reload current info node."
  (let ((file Info-current-file)
        (node Info-current-node)
        (point (point)))
    ;; Info-revert-find-node from Emacs CVS prevents jumping; use it when
    ;; available.
    (if (fboundp 'Info-revert-find-node)
        (Info-revert-find-node file node)
      (kill-buffer "*info*")
      (Info-find-node file node)
      (goto-char point))))

Bye, Reiner.

[1] <>
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW

reply via email to

[Prev in Thread] Current Thread [Next in Thread]