aboutsummaryrefslogtreecommitdiffstats
path: root/test/lisp
diff options
context:
space:
mode:
authorStefan Kangas2023-09-17 22:56:00 +0200
committerStefan Kangas2023-09-17 22:56:00 +0200
commitf3a50f6dd84aa4644a167c7b7a2dcde5144e2e5f (patch)
treec57e843678eb82c76369c697ee3a26cb4fb0f4cb /test/lisp
parentae983e92838d47f2a42662270b6b23e37eb330a2 (diff)
downloademacs-f3a50f6dd84aa4644a167c7b7a2dcde5144e2e5f.tar.gz
emacs-f3a50f6dd84aa4644a167c7b7a2dcde5144e2e5f.zip
Rename describe-map-tree to help--describe-map-tree
This function should have been made internal in the first place. * lisp/help.el (help--describe-map-tree): Rename from 'describe-map-tree'. Keep old name as an obsolete alias, and update all callers.
Diffstat (limited to 'test/lisp')
-rw-r--r--test/lisp/help-tests.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/lisp/help-tests.el b/test/lisp/help-tests.el
index 6c440f9e238..b0b487ab169 100644
--- a/test/lisp/help-tests.el
+++ b/test/lisp/help-tests.el
@@ -378,7 +378,7 @@ Key Binding
378 (foo menu-item "Foo" foo 378 (foo menu-item "Foo" foo
379 :enable mark-active 379 :enable mark-active
380 :help "Help text")))))) 380 :help "Help text"))))))
381 (describe-map-tree map nil nil nil nil t nil nil nil) 381 (help--describe-map-tree map nil nil nil nil t nil nil nil)
382 (should (string-match " 382 (should (string-match "
383Key Binding 383Key Binding
384-+ 384-+
@@ -393,7 +393,7 @@ C-a foo\n"
393 (foo menu-item "Foo" foo 393 (foo menu-item "Foo" foo
394 :enable mark-active 394 :enable mark-active
395 :help "Help text")))))) 395 :help "Help text"))))))
396 (describe-map-tree map nil nil nil nil nil nil nil nil) 396 (help--describe-map-tree map nil nil nil nil nil nil nil nil)
397 (should (string-match " 397 (should (string-match "
398Key Binding 398Key Binding
399-+ 399-+
@@ -408,7 +408,7 @@ C-a foo
408 (map '(keymap . ((1 . foo) 408 (map '(keymap . ((1 . foo)
409 (2 . bar)))) 409 (2 . bar))))
410 (shadow-maps '((keymap . ((1 . baz)))))) 410 (shadow-maps '((keymap . ((1 . baz))))))
411 (describe-map-tree map t shadow-maps nil nil t nil nil t) 411 (help--describe-map-tree map t shadow-maps nil nil t nil nil t)
412 (should (string-match " 412 (should (string-match "
413Key Binding 413Key Binding
414-+ 414-+
@@ -423,7 +423,7 @@ C-b bar\n"
423 (map '(keymap . ((1 . foo) 423 (map '(keymap . ((1 . foo)
424 (2 . bar)))) 424 (2 . bar))))
425 (shadow-maps '((keymap . ((1 . baz)))))) 425 (shadow-maps '((keymap . ((1 . baz))))))
426 (describe-map-tree map t shadow-maps nil nil t nil nil nil) 426 (help--describe-map-tree map t shadow-maps nil nil t nil nil nil)
427 (should (string-match " 427 (should (string-match "
428Key Binding 428Key Binding
429-+ 429-+
@@ -435,7 +435,7 @@ C-b bar\n"
435 (let ((standard-output (current-buffer)) 435 (let ((standard-output (current-buffer))
436 (map '(keymap . ((1 . foo) 436 (map '(keymap . ((1 . foo)
437 (2 . undefined))))) 437 (2 . undefined)))))
438 (describe-map-tree map t nil nil nil nil nil nil nil) 438 (help--describe-map-tree map t nil nil nil nil nil nil nil)
439 (should (string-match " 439 (should (string-match "
440Key Binding 440Key Binding
441-+ 441-+
@@ -447,7 +447,7 @@ C-a foo\n"
447 (let ((standard-output (current-buffer)) 447 (let ((standard-output (current-buffer))
448 (map '(keymap . ((1 . foo) 448 (map '(keymap . ((1 . foo)
449 (2 . undefined))))) 449 (2 . undefined)))))
450 (describe-map-tree map nil nil nil nil nil nil nil nil) 450 (help--describe-map-tree map nil nil nil nil nil nil nil nil)
451 (should (string-match " 451 (should (string-match "
452Key Binding 452Key Binding
453-+ 453-+