diff options
| author | Eshel Yaron | 2025-10-03 18:36:08 +0200 |
|---|---|---|
| committer | Eshel Yaron | 2025-10-03 19:10:51 +0200 |
| commit | 320df8ad358eecefd6ff40ba0eab171f8de6f9d7 (patch) | |
| tree | fc7aa1e51580a19521dc24a74c49fc8dd6e5cfb6 | |
| parent | bde38ef4800c4d6c287bae869fc66c5d32711530 (diff) | |
| download | emacs-320df8ad358eecefd6ff40ba0eab171f8de6f9d7.tar.gz emacs-320df8ad358eecefd6ff40ba0eab171f8de6f9d7.zip | |
; elisp-scope.el: Improve 'oclosure-define' 'slots' analysis
| -rw-r--r-- | lisp/emacs-lisp/elisp-scope.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/elisp-scope.el b/lisp/emacs-lisp/elisp-scope.el index 22c3e82dab4..d071721abf4 100644 --- a/lisp/emacs-lisp/elisp-scope.el +++ b/lisp/emacs-lisp/elisp-scope.el | |||
| @@ -1708,7 +1708,11 @@ property, or if the current buffer is trusted (see `trusted-content-p')." | |||
| 1708 | (elisp-scope-1 name '(symbol . defoclosure)) | 1708 | (elisp-scope-1 name '(symbol . defoclosure)) |
| 1709 | (elisp-scope-1 docstring) | 1709 | (elisp-scope-1 docstring) |
| 1710 | (elisp-scope-1 parent-names '(repeat . (symbol . oclosure))) | 1710 | (elisp-scope-1 parent-names '(repeat . (symbol . oclosure))) |
| 1711 | (elisp-scope-1 slots) ;TODO: Specify spec of `slots'. | 1711 | (elisp-scope-1 slots |
| 1712 | '(repeat . | ||
| 1713 | (or (symbol . slot) | ||
| 1714 | (cons (symbol . slot) . | ||
| 1715 | (plist (:type . cl-type)))))) | ||
| 1712 | (while-let ((kw (car-safe props)) | 1716 | (while-let ((kw (car-safe props)) |
| 1713 | (bkw (elisp-scope-sym-bare kw)) | 1717 | (bkw (elisp-scope-sym-bare kw)) |
| 1714 | ((keywordp bkw))) | 1718 | ((keywordp bkw))) |