all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* lost argument and doc string
@ 2002-02-10  6:59 Tak Ota
  2002-02-10 17:08 ` Eli Zaretskii
  0 siblings, 1 reply; 28+ messages in thread
From: Tak Ota @ 2002-02-10  6:59 UTC (permalink / raw)


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

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel


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

end of thread, other threads:[~2002-02-15 20:36 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-10  6:59 lost argument and doc string Tak Ota
2002-02-10 17:08 ` Eli Zaretskii
2002-02-10 17:32   ` Pavel Janík
2002-02-10 23:28     ` Tak Ota
2002-02-11  5:48       ` Pavel Janík
2002-02-11  5:48       ` Eli Zaretskii
2002-02-11 16:34         ` Juanma Barranquero
2002-02-11 19:37           ` Eli Zaretskii
2002-02-12  2:32             ` Tak Ota
2002-02-12  8:35               ` Eli Zaretskii
2002-02-12 14:23                 ` Tak Ota
2002-02-12 18:57                   ` Jason Rumney
2002-02-12 19:48                     ` Tak Ota
2002-02-13  5:43                       ` Eli Zaretskii
2002-02-13  6:01                         ` Tak Ota
2002-02-13 13:40                         ` Andreas Schwab
2002-02-13 14:23                           ` Eli Zaretskii
2002-02-13 19:50                       ` Jason Rumney
2002-02-13 20:22                         ` Tak Ota
2002-02-13 21:02                           ` Jason Rumney
2002-02-14  7:36                             ` Tak Ota
2002-02-15 10:36                               ` Richard Stallman
2002-02-15 20:36                                 ` Tak Ota
2002-02-13 21:00                         ` Tak Ota
2002-02-14  3:11                     ` Richard Stallman
2002-02-14 15:13                       ` Tak Ota
2002-02-13 15:37                 ` Richard Stallman
2002-02-11 18:48       ` Richard Stallman

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.