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

    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)
  eval((line-number-mode 1))
  eval-expression((line-number-mode 1) nil)
* call-interactively(eval-expression)

Above tested under -q --no-site-file.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]