aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorMarkus Rost2002-10-08 20:08:55 +0000
committerMarkus Rost2002-10-08 20:08:55 +0000
commit1e76e7a0662fc4c011d79f37e4c6af6ca8032e84 (patch)
treebf5063146529323c5df6ad9abd2c2a3cbd9fd8c3 /admin
parenta6e0b91c1a93de1546879c3d103f5ee618b22395 (diff)
downloademacs-1e76e7a0662fc4c011d79f37e4c6af6ca8032e84.tar.gz
emacs-1e76e7a0662fc4c011d79f37e4c6af6ca8032e84.zip
Describe the shell command for running cus-test-all in the emacs
source directory. Fix typo. Require cus-load explicitly.
Diffstat (limited to 'admin')
-rw-r--r--admin/cus-test.el16
1 files changed, 11 insertions, 5 deletions
diff --git a/admin/cus-test.el b/admin/cus-test.el
index 2ed5633b508..c7580ef0786 100644
--- a/admin/cus-test.el
+++ b/admin/cus-test.el
@@ -63,7 +63,11 @@
63;; 63;;
64;; M-x cus-test-all 64;; M-x cus-test-all
65;; 65;;
66;; This function is suitable for batch mode. 66;; This function is suitable for batch mode. E.g., invoke
67;;
68;; src/emacs -batch -l admin/cus-test.el -f cus-test-all
69;;
70;; in the emacs source directory.
67;; 71;;
68;; To make cus-test work one has usually to work-around some existing 72;; To make cus-test work one has usually to work-around some existing
69;; bugs/problems. Therefore this file contains a "Workaround" 73;; bugs/problems. Therefore this file contains a "Workaround"
@@ -178,13 +182,13 @@ It is run after `cus-test-load-custom-loads' and `cus-test-load-libs'")
178 "List of problematic variables found by `cus-test-apropos'.") 182 "List of problematic variables found by `cus-test-apropos'.")
179 183
180;; I haven't understood this :get stuff. However, there are only very 184;; I haven't understood this :get stuff. However, there are only very
181;; few variables with a custom-get property. Such Symbols are stored 185;; few variables with a custom-get property. Such symbols are stored
182;; in `cus-test-variables-with-custom-get'. 186;; in `cus-test-variables-with-custom-get'.
183(defvar cus-test-variables-with-custom-get nil 187(defvar cus-test-variables-with-custom-get nil
184 "Set by `cus-test-apropos' to a list of options with :get property.") 188 "Set by `cus-test-apropos' to a list of options with :get property.")
185 189
186;; This loads cus-loads.el, too.
187(require 'cus-edit) 190(require 'cus-edit)
191(require 'cus-load)
188 192
189(defun cus-test-apropos (regexp) 193(defun cus-test-apropos (regexp)
190 "Check the options matching REGEXP. 194 "Check the options matching REGEXP.
@@ -331,9 +335,11 @@ This function is useful to detect load problems of libraries."
331 335
332(defun cus-test-all nil 336(defun cus-test-all nil
333 "Run a maximal test by cus-test. 337 "Run a maximal test by cus-test.
334This function is suitable for batch mode, e.g., invoke 338This function is suitable for batch mode. E.g., invoke
339
340 src/emacs -batch -l admin/cus-test.el -f cus-test-all
335 341
336emacs -batch -l cus-test.el -f cus-test-all" 342in the emacs source directory."
337 (interactive) 343 (interactive)
338 ;; This does not seem to increase the number of tested options. 344 ;; This does not seem to increase the number of tested options.
339 ;; (message "Running %s" 'cus-test-load-libs) 345 ;; (message "Running %s" 'cus-test-load-libs)