emacs/lisp/emacs-lisp
Stefan Monnier 13d6e8fa54 cl-generic: Fix advertised-calling-convention declarations
* lisp/emacs-lisp/cl-generic.el (cl-generic-define-method):
Preserve the `advertised-calling-convention`, if any (bug#58563).

* lisp/subr.el (declare): Warn when we hit this.

* lisp/emacs-lisp/byte-run.el (get-advertised-calling-convention): New fun.
* lisp/progmodes/elisp-mode.el (elisp-get-fnsym-args-string):
* lisp/help-fns.el (help-fns--signature):
* lisp/emacs-lisp/bytecomp.el (byte-compile-fdefinition): Use it.

* test/lisp/emacs-lisp/cl-generic-tests.el (cl-generic-tests--acc): New fun.
(cl-generic-tests--advertised-calling-convention-bug58563): New test.
2022-10-16 12:01:47 -04:00
..
advice.el (compiled-function-p): New function (bug#56648) 2022-08-14 12:30:05 -04:00
avl-tree.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
backquote.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
backtrace.el Don't bind `s' in the normal backtrace map 2022-09-09 19:29:21 +02:00
benchmark.el ; Silence byte-compiler in benchmark.el 2022-10-07 23:15:13 +02:00
bindat.el bindat (strz): Null terminate fixed-length strings if there is room 2022-06-22 16:55:40 +03:00
byte-opt.el ; Fix typos (prefer American spelling) 2022-09-29 15:20:07 +02:00
byte-run.el cl-generic: Fix advertised-calling-convention declarations 2022-10-16 12:01:47 -04:00
bytecomp.el cl-generic: Fix advertised-calling-convention declarations 2022-10-16 12:01:47 -04:00
cconv.el cconv.el: Fix interactive closure bug#51695 2022-09-23 16:36:16 -04:00
chart.el Make XEmacs compat alias face-background-pixmap obsolete 2022-08-23 16:51:31 +02:00
check-declare.el Make 'check-declare-directory' more portable 2022-05-14 19:08:55 +03:00
checkdoc.el Don't use autoloaded functions for safe-local-variable 2022-09-16 12:36:15 +02:00
cl-extra.el New function substitute-quotes 2022-09-10 07:37:36 +02:00
cl-generic.el cl-generic: Fix advertised-calling-convention declarations 2022-10-16 12:01:47 -04:00
cl-indent.el Remove some useless eval-when-compile 2022-07-04 14:56:11 +02:00
cl-lib.el Delete many items obsolete since 24.3 2022-09-09 11:27:30 +02:00
cl-macs.el Improve check for misleading 'cl-case' cases (Bug#57915). 2022-09-19 13:34:51 +02:00
cl-preloaded.el ; Fix typos. 2022-07-02 10:20:23 +02:00
cl-print.el nadvice.el: Use OClosures 2022-04-26 17:36:13 -04:00
cl-seq.el cl-reduce doc string improvement 2022-08-18 15:07:08 +02:00
comp-cstr.el * Rename `comp--typeof-builtin-types' 2022-08-18 23:41:39 +02:00
comp.el Add trampoline AOT compilation target (bug#58318) 2022-10-11 21:19:21 +02:00
copyright.el Fix copyright-fix-years, use a dash to separate years in a range 2022-01-28 15:23:05 +01:00
crm.el Fix crm.el compilation warning 2022-07-11 13:34:35 +02:00
cursor-sensor.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
debug-early.el Make debug-early-backtrace more resilient 2022-06-24 11:04:51 +02:00
debug.el Obsolete unused variable in debug.el 2022-09-20 12:40:14 +02:00
derived.el ; Normalize some "Author" headers 2022-07-20 22:38:01 +02:00
disass.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
easy-mmode.el Fix define-minor-mode :keymap obsoletion warning 2022-09-02 14:58:30 +02:00
easymenu.el ; Minor doc fix in easy-menu-{add,remove} 2022-08-23 16:24:54 +02:00
edebug.el Abolish max-specpdl-size (bug#57911) 2022-09-19 19:30:03 +02:00
eieio-base.el * lisp/emacs-lisp/eieio-base.el (eieio-persistent-read): Simplify. 2022-07-31 12:04:17 +02:00
eieio-core.el Fix overly wide docstrings generated by eieio 2022-10-02 17:28:04 +02:00
eieio-custom.el Move EIEIO autoloads to the common loaddefs.el 2022-07-11 14:29:33 +02:00
eieio-datadebug.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
eieio-opt.el New function substitute-quotes 2022-09-10 07:37:36 +02:00
eieio-speedbar.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
eieio.el Fix more overly long docstrings in eieio 2022-10-03 00:04:23 +02:00
eldoc.el Don't disable eldoc when doing edebug 2022-08-02 11:56:55 +02:00
elint.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
elp.el ; Delete not-useful comments referring to Emacs 19. 2022-08-19 18:05:51 +02:00
ert-x.el ; Fix logic of $HOME adjustment for 'ert-remote-temporary-file-directory' 2022-10-03 17:42:37 -07:00
ert.el Simplify code using take, ntake and butlast 2022-08-14 15:43:12 +02:00
ewoc.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
faceup.el Audit quoting the quote character in doc strings 2022-04-22 16:17:22 +02:00
find-func.el Add find-function-setup-keys bindings for find-library commands 2022-06-30 12:49:40 +02:00
float-sup.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
generate-lisp-file.el Inhibit nativecomp of loaddefs files 2022-09-03 14:23:26 +02:00
generator.el Merge from origin/emacs-28 2022-01-01 07:03:03 -05:00
generic.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
gv.el Make `eq' obsolete as a generalized variable 2022-10-04 14:11:13 +02:00
helper.el Don't show status message in Helper-describe-bindings 2022-08-11 14:35:23 +02:00
hierarchy.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
icons.el * lisp/emacs-lisp/icons.el (icons--create): Use default rotation 0 (bug#57813) 2022-09-24 20:17:28 +03:00
inline.el Fix Edebug specification for inline functions (Bug#53068). 2022-01-13 13:52:40 +01:00
let-alist.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
lisp-mnt.el lisp-mnt, checkdoc: Reduce run-time dependencies 2022-02-07 12:59:27 -05:00
lisp-mode.el Get fewer false positives for :keyword and &options 2022-09-20 13:34:42 +02:00
lisp.el ; * lisp/emacs-lisp/lisp.el (end-of-defun-moves-to-eol): Doc fix. 2022-08-06 09:40:07 +03:00
loaddefs-gen.el Handle ;;;###theme-autoload comments in etc/themes 2022-10-15 17:22:48 +02:00
macroexp.el * lisp/emacs-lisp/macroexp.el (macroexp--compiler-macro): Soften message 2022-09-03 11:03:32 -04:00
map-ynp.el Clarify read-answer-short/use-short-answers action 2022-04-07 13:37:16 +02:00
map.el Mention caveats in the map-delete doc string 2022-04-26 15:34:26 +02:00
memory-report.el Use file-size-human-readable in memory-report--format 2022-10-15 03:02:17 +02:00
multisession.el Speed up multisession--set-value-sqlite slightly 2022-01-22 15:13:27 +01:00
nadvice.el Don't bug out in advice--make-docstring when there's not doc string 2022-10-04 12:50:17 +02:00
oclosure.el cconv.el: Fix interactive closure bug#51695 2022-09-23 16:36:16 -04:00
package-x.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
package.el package.el: Understand a few more variations in tarball formats 2022-10-08 12:19:40 -04:00
pcase.el (compiled-function-p): New function (bug#56648) 2022-08-14 12:30:05 -04:00
pp.el pp--insert-lisp: Don't bug out on certain forms at beginning of buffer 2022-05-28 18:39:43 +02:00
radix-tree.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
range.el Move the Gnus range functions to a new range.el file 2022-01-17 15:47:50 +01:00
re-builder.el Fit the re-builder window to the buffer 2022-09-05 20:58:27 +02:00
regexp-opt.el Abolish max-specpdl-size (bug#57911) 2022-09-19 19:30:03 +02:00
regi.el ; * lisp/emacs-lisp/regi.el: Delete incorrect "last modified" comment. 2022-07-30 11:36:36 +02:00
ring.el * lisp/emacs-lisp/ring.el (ring): Define as a type 2022-08-14 12:30:06 -04:00
rmc.el Allow read-multiple-choice to do long-form answers 2022-06-24 11:04:51 +02:00
rx.el Reduce internal rx autoloads 2022-07-31 13:01:26 +02:00
seq.el Add 'seq-keep' 2022-10-04 21:44:52 +02:00
shadow.el string-equal-ignore-case: new function 2022-07-26 13:49:28 -04:00
shortdoc.el Mention seq-keep in shortdoc 2022-10-08 13:20:17 +02:00
shorthands.el Remove some useless eval-when-compile 2022-07-04 14:56:11 +02:00
smie.el * lisp/emacs-lisp/smie.el (smie-auto-fill): Fix bug#19342 2022-05-06 11:09:58 -04:00
subr-x.el Autoload string-join 2022-09-17 12:31:24 +02:00
syntax.el (syntax-wholeline-max): New var 2022-06-30 13:20:33 -04:00
tabulated-list.el Prefer pos-bol and pos-eol in tabulated-list.el 2022-08-22 15:08:48 +02:00
tcover-ses.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
testcover.el Remove a nil cl-case case 2022-09-13 18:24:14 +02:00
text-property-search.el Audit quoting the quote character in doc strings 2022-04-22 16:17:22 +02:00
thunk.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
timer-list.el Add quit-window entry to list-timers menu 2022-07-04 22:15:51 +02:00
timer.el time-convert): Deprecate calls without an explicit FORM arg 2022-08-05 18:46:31 -04:00
tq.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
trace.el ; Delete LCD Archive entries 2022-07-28 15:07:34 +02:00
unsafep.el ; Add 2022 to copyright years. 2022-01-01 02:45:51 -05:00
vtable.el Fix vtable-insert-object line insertion 2022-10-08 15:26:01 +02:00
warnings.el Fix variable types in warnings-suppress 2022-08-15 09:36:06 +02:00