summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/generator-tests.el
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2020-08-19 12:49:39 +0200
committerStefan Kangas <stefan@marxist.se>2020-10-18 17:25:19 +0200
commit647b1c5142d7a029a3124e0177112f16f84d3794 (patch)
treef1a558a2628c8d4b34e59bf22eede0fb21c0675c /test/lisp/emacs-lisp/generator-tests.el
parentafd31f9e62e551a3f286d1d581a56ef1de33ee94 (diff)
downloademacs-647b1c5142d7a029a3124e0177112f16f84d3794.tar.gz
emacs-647b1c5142d7a029a3124e0177112f16f84d3794.tar.bz2
emacs-647b1c5142d7a029a3124e0177112f16f84d3794.zip
Translate describe_map to Lisp
Third step in converting substitute-command-keys to Lisp. * lisp/help.el (describe-map): New Lisp version of describe_map. (help--describe-map-compare, help--describe-translation) (help--describe-command, help--shadow-lookup): New helper functions for describe-map. (help--keymaps-seen, help--previous-description-column): New variables. * src/keymap.c (Fkeymap__get_keyelt): New defun to expose get_keyelt to Lisp. (Fdescribe_map_tree_old, Fdescribe_map): Remove defuns. (Fdescribe_vector_internal): New defun to expose describe_vector to Lisp in a way usable by describe-map. (syms_of_keymap): New defsubrs for Fkeymap__get_keyelt and Fdescribe_vector_internal. Remove defsubrs for Fdescribe_map_tree_old and Fdescribe_map. Remove 'help--keymaps-seen'. * test/lisp/help-tests.el (help-tests-substitute-command-keys/shadow): Extend test. (help-tests-substitute-command-keys/test-mode) (help-tests-substitute-command-keys/compare-all) (help-tests-describe-map-tree/no-menu-t) (help-tests-describe-map-tree/no-menu-nil) (help-tests-describe-map-tree/mention-shadow-t) (help-tests-describe-map-tree/mention-shadow-nil) (help-tests-describe-map-tree/partial-t) (help-tests-describe-map-tree/partial-nil): New tests.
Diffstat (limited to 'test/lisp/emacs-lisp/generator-tests.el')
0 files changed, 0 insertions, 0 deletions