aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools/emacs/erlang-test.el
diff options
context:
space:
mode:
authorJohan Claesson <[email protected]>2019-03-30 19:43:44 +0100
committerJohan Claesson <[email protected]>2019-03-30 19:48:28 +0100
commit1846a7d981d22cd3b1311401324dbd94a5f8aeaa (patch)
treeecdc7a10b5f9e753cadca17669fd3ed3050fb06d /lib/tools/emacs/erlang-test.el
parent1892e8580d2815a7804954b0e7fa8642d0be4a44 (diff)
downloadotp-1846a7d981d22cd3b1311401324dbd94a5f8aeaa.tar.gz
otp-1846a7d981d22cd3b1311401324dbd94a5f8aeaa.tar.bz2
otp-1846a7d981d22cd3b1311401324dbd94a5f8aeaa.zip
Emacs: Refine xref etags matches
Fetch and present arity in the *xref* window (unless too many hits). If we are reasonably sure which definition the user wants to go to then jump there directly instead of popping to the *xref* window.
Diffstat (limited to 'lib/tools/emacs/erlang-test.el')
-rw-r--r--lib/tools/emacs/erlang-test.el11
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/tools/emacs/erlang-test.el b/lib/tools/emacs/erlang-test.el
index 2ee584d11a..fbdd298da3 100644
--- a/lib/tools/emacs/erlang-test.el
+++ b/lib/tools/emacs/erlang-test.el
@@ -50,8 +50,15 @@
;; The -L option adds a directory to the load-path. It should be the
;; directory containing erlang.el and erlang-test.el.
;;
-;; 3. Call the script test-erlang-mode in this directory. This script
-;; use the second method.
+;; 3. Run the emacs_SUITE. The testcases tests_interpreted/1 and
+;; tests_compiled/1 in this suite are using the second method. One
+;; way to run this suite is with the ct_run tool, for example like the
+;; following when standing at the OTP repo top directory:
+;;
+;; ct_run -suite lib/tools/test/emacs_SUITE
+;;
+;; Note that this creates a lot of html log files in the current
+;; directory.
;;; Code: