[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Info buffers in Desktop
From: |
Juri Linkov |
Subject: |
Info buffers in Desktop |
Date: |
Tue, 27 Apr 2010 22:47:09 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) |
Currently desktop.el doesn't save virtual Info buffers,
but most of them are very fast to restore. This patch allows
desktop.el to save virtual Info buffers except when their
definition has a new property `desktop-not-to-save'.
`info-apropos' is very slow to create its output node,
so it has this property:
=== modified file 'lisp/info.el'
--- lisp/info.el 2010-04-22 18:08:17 +0000
+++ lisp/info.el 2010-04-27 19:45:27 +0000
@@ -3202,25 +3217,15 @@
(toc-nodes . Info-apropos-toc-nodes)
(find-file . Info-apropos-find-file)
(find-node . Info-apropos-find-node)
+ (desktop-not-to-save . t)
))
(defvar Info-apropos-file "*Apropos*"
@@ -4863,7 +4869,8 @@
(defun Info-desktop-buffer-misc-data (desktop-dirname)
"Auxiliary information to be saved in desktop file."
- (unless (Info-virtual-file-p Info-current-file)
+ (unless (Info-virtual-fun 'desktop-not-to-save
+ Info-current-file Info-current-node)
(list Info-current-file Info-current-node)))
(defun Info-restore-desktop-buffer (desktop-buffer-file-name
--
Juri Linkov
http://www.jurta.org/emacs/
- RE: Gtk tabs in emacs, new branch, (continued)
- RE: Gtk tabs in emacs, new branch, Drew Adams, 2010/04/24
- Re: Gtk tabs in emacs, new branch, Juri Linkov, 2010/04/24
- RE: Gtk tabs in emacs, new branch, Drew Adams, 2010/04/24
- Re: Gtk tabs in emacs, new branch, Juri Linkov, 2010/04/25
- Re: Gtk tabs in emacs, new branch, martin rudalics, 2010/04/25
- Window configurations (was: Gtk tabs in emacs, new branch), Juri Linkov, 2010/04/25
- Re: Window configurations, martin rudalics, 2010/04/26
- Re: Window configurations, Juri Linkov, 2010/04/27
- Re: Window configurations, martin rudalics, 2010/04/27
- Re: Window configurations, Juri Linkov, 2010/04/27
- Info buffers in Desktop,
Juri Linkov <=
- Re: Window configurations, martin rudalics, 2010/04/28
- Re: Window configurations, Juri Linkov, 2010/04/28
- Re: Window configurations, Davis Herring, 2010/04/27
- Re: Window configurations, Juri Linkov, 2010/04/28
- Re: Window configurations, Davis Herring, 2010/04/28
- Re: Window configurations, martin rudalics, 2010/04/28
- Re: Window configurations, Stefan Monnier, 2010/04/28
- Re: Window configurations (was: Gtk tabs in emacs, new branch), Ken Hori, 2010/04/29
- Re: Window configurations, Stefan Monnier, 2010/04/30
- Re: Gtk tabs in emacs, new branch, Stefan Monnier, 2010/04/10