diff options
| author | Alan Mackenzie | 2017-02-12 10:59:03 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2017-02-12 10:59:03 +0000 |
| commit | f4d5b687150810129b7a1d5b006e31ccf82b691b (patch) | |
| tree | 4229b13800349032697daae3904dc3773e6b7a80 /lisp/info.el | |
| parent | d5514332d4a6092673ce1f78fadcae0c57f7be64 (diff) | |
| parent | 148100d98319499f0ac6f57b8be08cbd14884a5c (diff) | |
| download | emacs-f4d5b687150810129b7a1d5b006e31ccf82b691b.tar.gz emacs-f4d5b687150810129b7a1d5b006e31ccf82b691b.zip | |
Merge branch 'master' into comment-cachecomment-cache
Diffstat (limited to 'lisp/info.el')
| -rw-r--r-- | lisp/info.el | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lisp/info.el b/lisp/info.el index e32b6b35632..0cfcec32f82 100644 --- a/lisp/info.el +++ b/lisp/info.el | |||
| @@ -1599,6 +1599,16 @@ escaped (\\\",\\\\)." | |||
| 1599 | parameter-alist)) | 1599 | parameter-alist)) |
| 1600 | parameter-alist)) | 1600 | parameter-alist)) |
| 1601 | 1601 | ||
| 1602 | (defun Info-node-description (file) | ||
| 1603 | (cond | ||
| 1604 | ((equal file "dir") "*Info Directory*") | ||
| 1605 | ((eq file 'apropos) "*Info Apropos*") | ||
| 1606 | ((eq file 'history) "*Info History*") | ||
| 1607 | ((eq file 'toc) "*Info TOC*") | ||
| 1608 | ((not (stringp file)) "") ; Avoid errors | ||
| 1609 | (t | ||
| 1610 | (concat "(" (file-name-nondirectory file) ") " Info-current-node)))) | ||
| 1611 | |||
| 1602 | (defun Info-display-images-node () | 1612 | (defun Info-display-images-node () |
| 1603 | "Display images in current node." | 1613 | "Display images in current node." |
| 1604 | (save-excursion | 1614 | (save-excursion |
| @@ -1693,6 +1703,7 @@ escaped (\\\",\\\\)." | |||
| 1693 | (setq Info-history-forward nil)) | 1703 | (setq Info-history-forward nil)) |
| 1694 | (if (not (eq Info-fontify-maximum-menu-size nil)) | 1704 | (if (not (eq Info-fontify-maximum-menu-size nil)) |
| 1695 | (Info-fontify-node)) | 1705 | (Info-fontify-node)) |
| 1706 | (setq list-buffers-directory (Info-node-description Info-current-file)) | ||
| 1696 | (Info-display-images-node) | 1707 | (Info-display-images-node) |
| 1697 | (Info-hide-cookies-node) | 1708 | (Info-hide-cookies-node) |
| 1698 | (run-hooks 'Info-selection-hook))))) | 1709 | (run-hooks 'Info-selection-hook))))) |