all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* read and 'text-mode
@ 2009-11-06 13:53 Lennart Borgman
  2009-11-06 14:16 ` Kevin Rodgers
  0 siblings, 1 reply; 3+ messages in thread
From: Lennart Borgman @ 2009-11-06 13:53 UTC (permalink / raw
  To: emacs help

I am doing

   (setq x (read (current-buffer))

and get x = text-mode. Now I want x to be the same as if I had done

  (setq x 'text-mode)

What do I need to do?




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

* Re: read and 'text-mode
  2009-11-06 13:53 read and 'text-mode Lennart Borgman
@ 2009-11-06 14:16 ` Kevin Rodgers
  2009-11-06 17:58   ` Lennart Borgman
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin Rodgers @ 2009-11-06 14:16 UTC (permalink / raw
  To: help-gnu-emacs

Lennart Borgman wrote:
> I am doing
> 
>    (setq x (read (current-buffer))
> 
> and get x = text-mode. Now I want x to be the same as if I had done
> 
>   (setq x 'text-mode)
> 
> What do I need to do?

 From what you write (that read returned a symbol), nothing.

-- 
Kevin Rodgers
Denver, Colorado, USA





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

* Re: read and 'text-mode
  2009-11-06 14:16 ` Kevin Rodgers
@ 2009-11-06 17:58   ` Lennart Borgman
  0 siblings, 0 replies; 3+ messages in thread
From: Lennart Borgman @ 2009-11-06 17:58 UTC (permalink / raw
  To: Kevin Rodgers; +Cc: help-gnu-emacs

Thanks, that helped to find the typo...

On Fri, Nov 6, 2009 at 3:16 PM, Kevin Rodgers <kevin.d.rodgers@gmail.com> wrote:
> Lennart Borgman wrote:
>>
>> I am doing
>>
>>   (setq x (read (current-buffer))
>>
>> and get x = text-mode. Now I want x to be the same as if I had done
>>
>>  (setq x 'text-mode)
>>
>> What do I need to do?
>
> From what you write (that read returned a symbol), nothing.
>
> --
> Kevin Rodgers
> Denver, Colorado, USA
>
>
>
>




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

end of thread, other threads:[~2009-11-06 17:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-06 13:53 read and 'text-mode Lennart Borgman
2009-11-06 14:16 ` Kevin Rodgers
2009-11-06 17:58   ` Lennart Borgman

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.