[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lost argument and doc string
From: |
Tak Ota |
Subject: |
lost argument and doc string |
Date: |
Sat, 09 Feb 2002 22:59:05 -0800 (PST) |
In 21.2.50 some functions in simple.el have lost their arguments.
For example, C-h f line-number-mode shows
line-number-mode is an interactive compiled Lisp function in `simple'.
It is bound to <menu-bar> <options> <showhide> <line-number-mode>.
(line-number-mode)
Toggle whether to show the current line number in the mode-line.
where ARG and the doc string are gone.
It is the same for `column-number-mode'. In the vicinity of these
functions in simple.el `overwrite-mode' and `binary-overwrite-mode' do
retain the ARG however lost the doc string.
The functions missing the argument is really compiled that way. For
example, evaluating (line-number-mode 1) causes an error as
Debugger entered--Lisp error: (wrong-number-of-arguments #[nil "..."
[line-number-mode message "Line number mode %s" "enabled" "disabled"] 3 "Toggle
whether to show the current line number in the mode-line." nil] 1)
line-number-mode(1)
eval((line-number-mode 1))
eval-expression((line-number-mode 1) nil)
* call-interactively(eval-expression)
Above tested under -q --no-site-file.
-Tak
- lost argument and doc string,
Tak Ota <=
- Re: lost argument and doc string, Eli Zaretskii, 2002/02/10
- Re: lost argument and doc string, Pavel Janík, 2002/02/10
- Re: lost argument and doc string, Tak Ota, 2002/02/10
- Re: lost argument and doc string, Pavel Janík, 2002/02/11
- Re: lost argument and doc string, Eli Zaretskii, 2002/02/11
- Re: lost argument and doc string, Juanma Barranquero, 2002/02/11
- Re: lost argument and doc string, Eli Zaretskii, 2002/02/11
- Re: lost argument and doc string, Tak Ota, 2002/02/11
- Re: lost argument and doc string, Eli Zaretskii, 2002/02/12
- Re: lost argument and doc string, Tak Ota, 2002/02/12