-
17cdb51...
by
Andrea Corallo <email address hidden>
-
* etc/NEWS (Function type declaration): Better warn about UB.
-
8e1e809...
by
Andrea Corallo <email address hidden>
-
* etc/NEWS (Function type declaration): Add entry.
-
fccd35f...
by
Andrea Corallo <email address hidden>
-
* doc/lispref/functions.texi (Declare Form): Improve declare type.
-
1087d55...
by
Andrea Corallo <email address hidden>
-
* lisp/emacs-lisp/regexp-opt.el (regexp-opt): Fix type declaration.
-
0757ea9...
by
Andrea Corallo <email address hidden>
-
Rename property 'declared-type' to 'function-type'
* lisp/emacs-lisp/byte-run.el (byte-run--set-function-type): Rename.
(defun-declarations-alist): Update.
* lisp/emacs-lisp/comp.el (comp--get-function-cstr): Likewise.
-
1501628...
by
Andrea Corallo <email address hidden>
-
* Document function type declarations
* doc/lispref/functions.texi (Declare Form): Document function type
declaration.
-
fa0bf96...
by
Andrea Corallo <email address hidden>
-
Move lisp function arg type declarations to the functions itself
* lisp/emacs-lisp/comp-common.el (comp-primitive-type-specifiers):
Remove type declaration of lisp functions.
* lisp/window.el (get-lru-window, get-largest-window)
(one-window-p): Declare type.
* lisp/subr.el (ignore, error, zerop, fixnump, bignump, lsh)
(last, eventp, mouse-movement-p, log10, memory-limit)
(interactive-p): Likewise.
* lisp/simple.el (count-lines, mark, lax-plist-get): Likewise.
* lisp/files.el (parse-colon-path): Likewise.
* lisp/env.el (getenv): Likewise.
* lisp/emacs-lisp/regexp-opt.el (regexp-opt): Likewise.
* lisp/emacs-lisp/lisp.el (buffer-end): Likewise.
* lisp/emacs-lisp/comp.el (comp-hint-fixnum, comp-hint-cons): Likewise.
* lisp/custom.el (custom-variable-p): Likewise.
-
d8c941d...
by
Andrea Corallo <email address hidden>
-
Make use of Lisp function declarations
* lisp/emacs-lisp/comp.el (comp-primitive-func-cstr-h): Rename.
(comp--get-function-cstr): Define new function.
(comp--add-call-cstr, comp--fwprop-call): Update.
* lisp/emacs-lisp/comp-common.el (comp-function-type-spec): Update.
* lisp/help-fns.el (help-fns--signature): Mention when a type is
declared.
* lisp/emacs-lisp/comp.el (comp-primitive-func-cstr-h): Rename.
-
1c7b809...
by
Andrea Corallo <email address hidden>
-
* Add function type declarations for Lisp functions
* lisp/emacs-lisp/byte-run.el (byte-run--set-declared-type): Add alias.
(defun-declarations-alist): Use it for 'type' declaration.
-
3be3823...
by
=?utf-8?q?Mattias_Engdeg=C3=A5rd?= <email address hidden>
-
Declare the variable `rx-constituents` obsolete.
It has been effectively obsolete since Emacs 27, when the modern
extension mechanism was introduced.
* lisp/emacs-lisp/rx.el (rx-constituents): Make obsolete.
* test/lisp/emacs-lisp/rx-tests.el (rx-constituents): Suppress warning.
* etc/NEWS: Announce.