unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Lennart Borgman <lennart.borgman@gmail.com>,
	4869@emacsbugs.donarmstrong.com
Cc: doom@kzsu.stanford.edu
Subject: bug#4869: 23.1.50; weak documentation of prefer-coding-system
Date: Fri, 06 Nov 2009 10:41:42 +0200	[thread overview]
Message-ID: <834op8avuh.fsf@gnu.org> (raw)
In-Reply-To: <e01d8a50911051850l1bcec31dh71fed873fae68207@mail.gmail.com>

> From: Lennart Borgman <lennart.borgman@gmail.com>
> Date: Fri, 6 Nov 2009 03:50:03 +0100
> Cc: Joseph Brenner <doom@kzsu.stanford.edu>
> 
> > Why not allow both?  Some MULE functions allow a symbol and a string.
> 
> Because it is at least a rudimentary type check? ;-)

There's no need for this type check because prefer-coding-system
already checks its argument with coding-system-p, which is the full
type check for coding systems.





  reply	other threads:[~2009-11-06  8:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-04 21:25 bug#4869: 23.1.50; weak documentation of prefer-coding-system Joseph Brenner
2009-11-06  1:47 ` Juri Linkov
2009-11-06  2:50   ` Lennart Borgman
2009-11-06  8:41     ` Eli Zaretskii [this message]
2011-07-13 14:34 ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=834op8avuh.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=4869@emacsbugs.donarmstrong.com \
    --cc=doom@kzsu.stanford.edu \
    --cc=lennart.borgman@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

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