unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* utf-8 into function
@ 2004-02-26 16:53 Guldo K
  2004-02-26 18:23 ` Kevin Rodgers
  0 siblings, 1 reply; 2+ messages in thread
From: Guldo K @ 2004-02-26 16:53 UTC (permalink / raw)


Hello.
I included this into a function:
    (set-input-method "italian-postfix")
    (set-language-environment "Latin-9")
    (set-buffer-file-coding-system "utf-8")

the first two do work, but the latter does not.
Could you please tell me why?

Thanks,

*Guldo*

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

* Re: utf-8 into function
  2004-02-26 16:53 utf-8 into function Guldo K
@ 2004-02-26 18:23 ` Kevin Rodgers
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Rodgers @ 2004-02-26 18:23 UTC (permalink / raw)


Guldo K wrote:
 > I included this into a function:
 >     (set-input-method "italian-postfix")
 >     (set-language-environment "Latin-9")
 >     (set-buffer-file-coding-system "utf-8")
 >
 > the first two do work, but the latter does not.
 > Could you please tell me why?

Isn't the error message perfectly clear?

Wrong type argument: symbolp, "utf-8"

(set-buffer-file-coding-system 'utf-8)

-- 
Kevin Rodgers

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

end of thread, other threads:[~2004-02-26 18:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-26 16:53 utf-8 into function Guldo K
2004-02-26 18:23 ` Kevin Rodgers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).