aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/info.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/info.el b/lisp/info.el
index 07bce5bd487..fb652af1ead 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -3467,7 +3467,7 @@ Advanced commands:
3467 (setq widen-automatically nil) 3467 (setq widen-automatically nil)
3468 (setq desktop-save-buffer 'Info-desktop-buffer-misc-data) 3468 (setq desktop-save-buffer 'Info-desktop-buffer-misc-data)
3469 (add-hook 'kill-buffer-hook 'Info-kill-buffer nil t) 3469 (add-hook 'kill-buffer-hook 'Info-kill-buffer nil t)
3470 (add-hook 'clone-buffer-hook 'Info-clone-buffer-hook nil t) 3470 (add-hook 'clone-buffer-hook 'Info-clone-buffer nil t)
3471 (add-hook 'change-major-mode-hook 'font-lock-defontify nil t) 3471 (add-hook 'change-major-mode-hook 'font-lock-defontify nil t)
3472 (add-hook 'isearch-mode-hook 'Info-isearch-start nil t) 3472 (add-hook 'isearch-mode-hook 'Info-isearch-start nil t)
3473 (set (make-local-variable 'isearch-search-fun-function) 3473 (set (make-local-variable 'isearch-search-fun-function)
@@ -3488,7 +3488,8 @@ Advanced commands:
3488 Info-tag-table-buffer 3488 Info-tag-table-buffer
3489 (kill-buffer Info-tag-table-buffer))) 3489 (kill-buffer Info-tag-table-buffer)))
3490 3490
3491(defun Info-clone-buffer-hook () 3491;; Placed on `clone-buffer-hook'.
3492(defun Info-clone-buffer ()
3492 (when (bufferp Info-tag-table-buffer) 3493 (when (bufferp Info-tag-table-buffer)
3493 (setq Info-tag-table-buffer 3494 (setq Info-tag-table-buffer
3494 (with-current-buffer Info-tag-table-buffer (clone-buffer)))) 3495 (with-current-buffer Info-tag-table-buffer (clone-buffer))))