branch: externals/marginalia commit 9eee160c1f52d8c03ca211071e5aec36dd7c8f26 Author: Daniel Mendler <m...@daniel-mendler.de> Commit: Daniel Mendler <m...@daniel-mendler.de>
marginalia--variable-value: Remove native function special case Native functions are printed as #<subr ...> --- marginalia.el | 2 -- 1 file changed, 2 deletions(-) diff --git a/marginalia.el b/marginalia.el index 7762957..319778d 100644 --- a/marginalia.el +++ b/marginalia.el @@ -591,8 +591,6 @@ keybinding since CAND includes it." ;; Emacs BUG: abbrev-table-p throws an error ((guard (ignore-errors (abbrev-table-p val))) (propertize "#<abbrev-table>" 'face 'marginalia-value)) ((pred char-table-p) (propertize "#<char-table>" 'face 'marginalia-value)) - ((guard (and (fboundp 'subr-native-elisp-p) (subr-native-elisp-p val))) - (propertize "#<native-code-function>" 'face 'marginalia-function)) ((pred byte-code-function-p) (propertize "#<byte-code-function>" 'face 'marginalia-function)) ((and (pred functionp) (pred symbolp)) ;; NOTE: We are not consistent here, values are generally printed unquoted. But we