[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: elisp: set-register
From: |
Kevin Rodgers |
Subject: |
Re: elisp: set-register |
Date: |
Mon, 15 Nov 2004 12:06:54 -0700 |
User-agent: |
Mozilla Thunderbird 0.9 (X11/20041105) |
Dan Elliott wrote:
> I am having difficulty understanding the set-register function. When
I try:
> (set-register ?p (current-window-configuration))
>
> in a function run by my .emacs file, it does not appear to work, nor
does it
> appear to cause an error.
>
> I want to set the current window config to 'p'.
,----[ C-h k C-x r w ]
| C-x r w runs the command window-configuration-to-register
| which is an interactive compiled Lisp function in `register'.
| (window-configuration-to-register REGISTER &optional ARG)
|
| Store the window configuration of the selected frame in register REGISTER.
| Use C-x r j to restore the configuration.
| Argument is a character, naming the register.
`----
--
Kevin Rodgers