]> git.eshelyaron.com Git - emacs.git/commitdiff
(Info-clone-buffer): Renamed from Info-clone-buffer-hook. Use changed.
authorRichard M. Stallman <rms@gnu.org>
Sat, 15 Dec 2007 22:34:37 +0000 (22:34 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 15 Dec 2007 22:34:37 +0000 (22:34 +0000)
lisp/info.el

index 07bce5bd48751549b03fcfb50280656d25255186..fb652af1eade8439cca8c96ea65c6a0fd217472a 100644 (file)
@@ -3467,7 +3467,7 @@ Advanced commands:
   (setq widen-automatically nil)
   (setq desktop-save-buffer 'Info-desktop-buffer-misc-data)
   (add-hook 'kill-buffer-hook 'Info-kill-buffer nil t)
-  (add-hook 'clone-buffer-hook 'Info-clone-buffer-hook nil t)
+  (add-hook 'clone-buffer-hook 'Info-clone-buffer nil t)
   (add-hook 'change-major-mode-hook 'font-lock-defontify nil t)
   (add-hook 'isearch-mode-hook 'Info-isearch-start nil t)
   (set (make-local-variable 'isearch-search-fun-function)
@@ -3488,7 +3488,8 @@ Advanced commands:
        Info-tag-table-buffer
        (kill-buffer Info-tag-table-buffer)))
 
-(defun Info-clone-buffer-hook ()
+;; Placed on `clone-buffer-hook'.
+(defun Info-clone-buffer ()
   (when (bufferp Info-tag-table-buffer)
     (setq Info-tag-table-buffer
          (with-current-buffer Info-tag-table-buffer (clone-buffer))))