emacs-devel
[Top][All Lists]
Advanced

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

desktop.el should save `command-history', `file-name-history' and `minib


From: Kevin A. Burton
Subject: desktop.el should save `command-history', `file-name-history' and `minibuffer-history'
Date: 30 Jan 2002 13:00:53 -0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1.50

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Shouldn't desktop-globals-to-save look like this?

(defvar desktop-globals-to-save
  (list 'desktop-missing-file-warning
        ;; Feature: saving kill-ring implies saving kill-ring-yank-pointer
        ;; 'kill-ring
        'tags-file-name
        'tags-table-list
        'search-ring
        'regexp-search-ring
        'register-alist
    'command-history
    'minibuffer-history
    'file-name-history
        ;; 'desktop-globals-to-save     ; Itself!
        )
  "List of global variables to save when killing Emacs.
An element may be variable name (a symbol)
or a cons cell of the form  (VAR . MAX-SIZE),
which means to truncate VAR's value to at most MAX-SIZE elements
\(if the value is a list) before saving the value.")


.... also... should we include any other history variables?

Kevin

- -- 
Kevin A. Burton ( address@hidden, address@hidden, address@hidden )
             Location - San Francisco, CA, Cell - 415.595.9965
        Jabber - address@hidden,  Web - http://relativity.yi.org/

Please don't use hard tabs       in your code.  Instead use 4 spaces.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt

iD8DBQE8WF8FAwM6xb2dfE0RAj9lAKCohrIcRbRr0PPkMtbqhBW+sg25KgCfcQMz
G6lgAV+l6jLYA3lk/EQjK+A=
=zb9z
-----END PGP SIGNATURE-----



reply via email to

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