mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
* doc/lispref/functions.texi (Declare Form): Better warn about UB.
This commit is contained in:
parent
8e1e8099aa
commit
390b606ffc
@ -2750,9 +2750,10 @@ argument of type @var{string} and return one of the symbols
|
||||
|
||||
More types are described in @pxref{Lisp Data Types}.
|
||||
|
||||
Declaring a function with an incorrect type produces undefined behavior.
|
||||
Note also that when redefining (or advising) a type declared function
|
||||
the replacement should respect the original signature to avoid undefined
|
||||
Declaring a function with an incorrect type produces undefined behavior
|
||||
and could lead to unexpected results or might even crash Emacs. Note
|
||||
also that when redefining (or advising) a type declared function the
|
||||
replacement should respect the original signature to avoid undefined
|
||||
behavior.
|
||||
|
||||
@item no-font-lock-keyword
|
||||
|
Loading…
Reference in New Issue
Block a user