all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: elisp: set-register
@ 2004-11-16  5:58 Joe Corneli
  0 siblings, 0 replies; 7+ messages in thread
From: Joe Corneli @ 2004-11-16  5:58 UTC (permalink / raw)


You could use (string-to-char "p") to figure out what REGISTER to
use.  Referring to the source, it doesn't appear that ARG is
actually used in the function `window-configuration-to-register', so
for that argument just use nil (or nothing, since it is optional).

^ permalink raw reply	[flat|nested] 7+ messages in thread
* elisp: set-register
@ 2004-11-15 18:09 Dan Elliott
  2004-11-15 19:06 ` Kevin Rodgers
  2004-11-15 23:13 ` V. L. Simpson
  0 siblings, 2 replies; 7+ messages in thread
From: Dan Elliott @ 2004-11-15 18:09 UTC (permalink / raw)


Hello,

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'.

Am I going about this the wrong way?

Thank you,

dan elliott

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-11-16 18:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-16  5:58 elisp: set-register Joe Corneli
  -- strict thread matches above, loose matches on Subject: below --
2004-11-15 18:09 Dan Elliott
2004-11-15 19:06 ` Kevin Rodgers
2004-11-15 19:51   ` Dan Elliott
2004-11-15 22:57     ` Kevin Rodgers
2004-11-16 18:07       ` Dan Elliott
2004-11-15 23:13 ` V. L. Simpson

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.