unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* About `argi'
@ 2013-03-10  1:15 Xue Fuqiao
  2013-03-12  3:27 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Xue Fuqiao @ 2013-03-10  1:15 UTC (permalink / raw)
  To: help-gnu-emacs

In the doc string of `command-line-functions':

  Each function should access the dynamically bound variables `argi'
  (the current argument) and `command-line-args-left' (the remaining
  arguments).

But in startup.el:

  (internal-make-var-non-special 'argi)

It seems that `argi' is lexically bound.  Is it a bug in the doc
string?  Or am I missing something?  Thanks.

-- 
Best regards, Xue Fuqiao.
http://www.emacswiki.org/emacs/XueFuqiao



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

* Re: About `argi'
  2013-03-10  1:15 About `argi' Xue Fuqiao
@ 2013-03-12  3:27 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2013-03-12  3:27 UTC (permalink / raw)
  To: help-gnu-emacs

> In the doc string of `command-line-functions':
>   Each function should access the dynamically bound variables `argi'
>   (the current argument) and `command-line-args-left' (the remaining
>   arguments).

> But in startup.el:

>   (internal-make-var-non-special 'argi)

> It seems that `argi' is lexically bound.  Is it a bug in the doc
> string?  Or am I missing something?  Thanks.

Better report those things via M-x report-emacs-bug.
And yes, it's a doc bug.


        Stefan




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

end of thread, other threads:[~2013-03-12  3:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-10  1:15 About `argi' Xue Fuqiao
2013-03-12  3:27 ` Stefan Monnier

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