[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#31660: 26.1.50; EIEIO manual's Quick Start example makes Emacs unusa
From: |
Noam Postavsky |
Subject: |
bug#31660: 26.1.50; EIEIO manual's Quick Start example makes Emacs unusable |
Date: |
Sat, 02 Jun 2018 20:23:31 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Gemini Lasswell <gazally@runbox.com> writes:
> Definitely the name of the class in the examples in the manual should be
> changed, so that the examples work.
Yeah.
> Maybe it would also be a good idea for defclass to signal an error or
> at least give a warning message if it is asked to define a class with
> the same name as an existing function unless that function is from a
> previous class definition.
A warning would be okay I think. An error is too much: if you were
developing a library and decided to change a function into a class, then
you wouldn't be able to reload the new version without restarting Emacs.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#31660: 26.1.50; EIEIO manual's Quick Start example makes Emacs unusable,
Noam Postavsky <=