diff options
| author | Glenn Morris | 2012-02-11 13:19:22 -0800 |
|---|---|---|
| committer | Glenn Morris | 2012-02-11 13:19:22 -0800 |
| commit | 3e0d2fa76ed543f2f575055939cf77939cca87d5 (patch) | |
| tree | 0ef9d07c515ae541abd8f486a318559a4f5a8f96 | |
| parent | 77abcbc2412cef1dd88e9843e8122dcf90d2b924 (diff) | |
| download | emacs-3e0d2fa76ed543f2f575055939cf77939cca87d5.tar.gz emacs-3e0d2fa76ed543f2f575055939cf77939cca87d5.zip | |
Small prolog.el defcustom fixes
* lisp/progmodes/prolog.el: Remove leading '*' from defcustom docs.
(prolog-system-version): Give it a type.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/progmodes/prolog.el | 95 |
2 files changed, 54 insertions, 46 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2a59a061379..bf09296e3eb 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-02-11 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * progmodes/prolog.el: Remove leading '*' from defcustom docs. | ||
| 4 | (prolog-system-version): Give it a type. | ||
| 5 | |||
| 1 | 2012-02-11 Eli Zaretskii <eliz@gnu.org> | 6 | 2012-02-11 Eli Zaretskii <eliz@gnu.org> |
| 2 | 7 | ||
| 3 | * term/pc-win.el (x-select-text, x-selection-owner-p) | 8 | * term/pc-win.el (x-select-text, x-selection-owner-p) |
diff --git a/lisp/progmodes/prolog.el b/lisp/progmodes/prolog.el index b531fc0dc9c..0eb4c8c07dd 100644 --- a/lisp/progmodes/prolog.el +++ b/lisp/progmodes/prolog.el | |||
| @@ -329,7 +329,7 @@ | |||
| 329 | ;; General configuration | 329 | ;; General configuration |
| 330 | 330 | ||
| 331 | (defcustom prolog-system nil | 331 | (defcustom prolog-system nil |
| 332 | "*Prolog interpreter/compiler used. | 332 | "Prolog interpreter/compiler used. |
| 333 | The value of this variable is nil or a symbol. | 333 | The value of this variable is nil or a symbol. |
| 334 | If it is a symbol, it determines default values of other configuration | 334 | If it is a symbol, it determines default values of other configuration |
| 335 | variables with respect to properties of the specified Prolog | 335 | variables with respect to properties of the specified Prolog |
| @@ -361,42 +361,45 @@ gnu - GNU Prolog" | |||
| 361 | (eclipse (3 . 7)) | 361 | (eclipse (3 . 7)) |
| 362 | (gnu (0 . 0))) | 362 | (gnu (0 . 0))) |
| 363 | ;; FIXME: This should be auto-detected instead of user-provided. | 363 | ;; FIXME: This should be auto-detected instead of user-provided. |
| 364 | "*Alist of Prolog system versions. | 364 | "Alist of Prolog system versions. |
| 365 | The version numbers are of the format (Major . Minor)." | 365 | The version numbers are of the format (Major . Minor)." |
| 366 | :type '(repeat (list (symbol :tag "System") | ||
| 367 | (cons :tag "Version numbers" (integer :tag "Major") | ||
| 368 | (integer :tag "Minor")))) | ||
| 366 | :group 'prolog) | 369 | :group 'prolog) |
| 367 | 370 | ||
| 368 | ;; Indentation | 371 | ;; Indentation |
| 369 | 372 | ||
| 370 | (defcustom prolog-indent-width 4 | 373 | (defcustom prolog-indent-width 4 |
| 371 | "*The indentation width used by the editing buffer." | 374 | "The indentation width used by the editing buffer." |
| 372 | :group 'prolog-indentation | 375 | :group 'prolog-indentation |
| 373 | :type 'integer) | 376 | :type 'integer) |
| 374 | 377 | ||
| 375 | (defcustom prolog-align-comments-flag t | 378 | (defcustom prolog-align-comments-flag t |
| 376 | "*Non-nil means automatically align comments when indenting." | 379 | "Non-nil means automatically align comments when indenting." |
| 377 | :group 'prolog-indentation | 380 | :group 'prolog-indentation |
| 378 | :type 'boolean) | 381 | :type 'boolean) |
| 379 | 382 | ||
| 380 | (defcustom prolog-indent-mline-comments-flag t | 383 | (defcustom prolog-indent-mline-comments-flag t |
| 381 | "*Non-nil means indent contents of /* */ comments. | 384 | "Non-nil means indent contents of /* */ comments. |
| 382 | Otherwise leave such lines as they are." | 385 | Otherwise leave such lines as they are." |
| 383 | :group 'prolog-indentation | 386 | :group 'prolog-indentation |
| 384 | :type 'boolean) | 387 | :type 'boolean) |
| 385 | 388 | ||
| 386 | (defcustom prolog-object-end-to-0-flag t | 389 | (defcustom prolog-object-end-to-0-flag t |
| 387 | "*Non-nil means indent closing '}' in SICStus object definitions to level 0. | 390 | "Non-nil means indent closing '}' in SICStus object definitions to level 0. |
| 388 | Otherwise indent to `prolog-indent-width'." | 391 | Otherwise indent to `prolog-indent-width'." |
| 389 | :group 'prolog-indentation | 392 | :group 'prolog-indentation |
| 390 | :type 'boolean) | 393 | :type 'boolean) |
| 391 | 394 | ||
| 392 | (defcustom prolog-left-indent-regexp "\\(;\\|\\*?->\\)" | 395 | (defcustom prolog-left-indent-regexp "\\(;\\|\\*?->\\)" |
| 393 | "*Regexp for character sequences after which next line is indented. | 396 | "Regexp for character sequences after which next line is indented. |
| 394 | Next line after such a regexp is indented to the opening parenthesis level." | 397 | Next line after such a regexp is indented to the opening parenthesis level." |
| 395 | :group 'prolog-indentation | 398 | :group 'prolog-indentation |
| 396 | :type 'regexp) | 399 | :type 'regexp) |
| 397 | 400 | ||
| 398 | (defcustom prolog-paren-indent-p nil | 401 | (defcustom prolog-paren-indent-p nil |
| 399 | "*If non-nil, increase indentation for parenthesis expressions. | 402 | "If non-nil, increase indentation for parenthesis expressions. |
| 400 | The second and subsequent line in a parenthesis expression other than | 403 | The second and subsequent line in a parenthesis expression other than |
| 401 | a compound term can either be indented `prolog-paren-indent' to the | 404 | a compound term can either be indented `prolog-paren-indent' to the |
| 402 | right (if this variable is non-nil) or in the same way as for compound | 405 | right (if this variable is non-nil) or in the same way as for compound |
| @@ -405,13 +408,13 @@ terms (if this variable is nil, default)." | |||
| 405 | :type 'boolean) | 408 | :type 'boolean) |
| 406 | 409 | ||
| 407 | (defcustom prolog-paren-indent 4 | 410 | (defcustom prolog-paren-indent 4 |
| 408 | "*The indentation increase for parenthesis expressions. | 411 | "The indentation increase for parenthesis expressions. |
| 409 | Only used in ( If -> Then ; Else) and ( Disj1 ; Disj2 ) style expressions." | 412 | Only used in ( If -> Then ; Else) and ( Disj1 ; Disj2 ) style expressions." |
| 410 | :group 'prolog-indentation | 413 | :group 'prolog-indentation |
| 411 | :type 'integer) | 414 | :type 'integer) |
| 412 | 415 | ||
| 413 | (defcustom prolog-parse-mode 'beg-of-clause | 416 | (defcustom prolog-parse-mode 'beg-of-clause |
| 414 | "*The parse mode used (decides from which point parsing is done). | 417 | "The parse mode used (decides from which point parsing is done). |
| 415 | Legal values: | 418 | Legal values: |
| 416 | 'beg-of-line - starts parsing at the beginning of a line, unless the | 419 | 'beg-of-line - starts parsing at the beginning of a line, unless the |
| 417 | previous line ends with a backslash. Fast, but has | 420 | previous line ends with a backslash. Fast, but has |
| @@ -447,7 +450,7 @@ Legal values: | |||
| 447 | (t | 450 | (t |
| 448 | ;; FIXME: Shouldn't we just use the union of all the above here? | 451 | ;; FIXME: Shouldn't we just use the union of all the above here? |
| 449 | ("dynamic" "module"))) | 452 | ("dynamic" "module"))) |
| 450 | "*Alist of Prolog keywords which is used for font locking of directives." | 453 | "Alist of Prolog keywords which is used for font locking of directives." |
| 451 | :group 'prolog-font-lock | 454 | :group 'prolog-font-lock |
| 452 | :type 'sexp) | 455 | :type 'sexp) |
| 453 | 456 | ||
| @@ -455,7 +458,7 @@ Legal values: | |||
| 455 | '((mercury | 458 | '((mercury |
| 456 | ("char" "float" "int" "io__state" "string" "univ")) | 459 | ("char" "float" "int" "io__state" "string" "univ")) |
| 457 | (t nil)) | 460 | (t nil)) |
| 458 | "*Alist of Prolog types used by font locking." | 461 | "Alist of Prolog types used by font locking." |
| 459 | :group 'prolog-font-lock | 462 | :group 'prolog-font-lock |
| 460 | :type 'sexp) | 463 | :type 'sexp) |
| 461 | 464 | ||
| @@ -463,7 +466,7 @@ Legal values: | |||
| 463 | '((mercury | 466 | '((mercury |
| 464 | ("bound" "di" "free" "ground" "in" "mdi" "mui" "muo" "out" "ui" "uo")) | 467 | ("bound" "di" "free" "ground" "in" "mdi" "mui" "muo" "out" "ui" "uo")) |
| 465 | (t nil)) | 468 | (t nil)) |
| 466 | "*Alist of Prolog mode specificators used by font locking." | 469 | "Alist of Prolog mode specificators used by font locking." |
| 467 | :group 'prolog-font-lock | 470 | :group 'prolog-font-lock |
| 468 | :type 'sexp) | 471 | :type 'sexp) |
| 469 | 472 | ||
| @@ -472,7 +475,7 @@ Legal values: | |||
| 472 | ("cc_multi" "cc_nondet" "det" "erroneous" "failure" "multi" "nondet" | 475 | ("cc_multi" "cc_nondet" "det" "erroneous" "failure" "multi" "nondet" |
| 473 | "semidet")) | 476 | "semidet")) |
| 474 | (t nil)) | 477 | (t nil)) |
| 475 | "*Alist of Prolog determinism specificators used by font locking." | 478 | "Alist of Prolog determinism specificators used by font locking." |
| 476 | :group 'prolog-font-lock | 479 | :group 'prolog-font-lock |
| 477 | :type 'sexp) | 480 | :type 'sexp) |
| 478 | 481 | ||
| @@ -480,7 +483,7 @@ Legal values: | |||
| 480 | '((mercury | 483 | '((mercury |
| 481 | ("^#[0-9]+")) | 484 | ("^#[0-9]+")) |
| 482 | (t nil)) | 485 | (t nil)) |
| 483 | "*Alist of Prolog source code directives used by font locking." | 486 | "Alist of Prolog source code directives used by font locking." |
| 484 | :group 'prolog-font-lock | 487 | :group 'prolog-font-lock |
| 485 | :type 'sexp) | 488 | :type 'sexp) |
| 486 | 489 | ||
| @@ -488,17 +491,17 @@ Legal values: | |||
| 488 | ;; Keyboard | 491 | ;; Keyboard |
| 489 | 492 | ||
| 490 | (defcustom prolog-electric-newline-flag (not (fboundp 'electric-indent-mode)) | 493 | (defcustom prolog-electric-newline-flag (not (fboundp 'electric-indent-mode)) |
| 491 | "*Non-nil means automatically indent the next line when the user types RET." | 494 | "Non-nil means automatically indent the next line when the user types RET." |
| 492 | :group 'prolog-keyboard | 495 | :group 'prolog-keyboard |
| 493 | :type 'boolean) | 496 | :type 'boolean) |
| 494 | 497 | ||
| 495 | (defcustom prolog-hungry-delete-key-flag nil | 498 | (defcustom prolog-hungry-delete-key-flag nil |
| 496 | "*Non-nil means delete key consumes all preceding spaces." | 499 | "Non-nil means delete key consumes all preceding spaces." |
| 497 | :group 'prolog-keyboard | 500 | :group 'prolog-keyboard |
| 498 | :type 'boolean) | 501 | :type 'boolean) |
| 499 | 502 | ||
| 500 | (defcustom prolog-electric-dot-flag nil | 503 | (defcustom prolog-electric-dot-flag nil |
| 501 | "*Non-nil means make dot key electric. | 504 | "Non-nil means make dot key electric. |
| 502 | Electric dot appends newline or inserts head of a new clause. | 505 | Electric dot appends newline or inserts head of a new clause. |
| 503 | If dot is pressed at the end of a line where at least one white space | 506 | If dot is pressed at the end of a line where at least one white space |
| 504 | precedes the point, it inserts a recursive call to the current predicate. | 507 | precedes the point, it inserts a recursive call to the current predicate. |
| @@ -510,7 +513,7 @@ It does not apply in strings and comments." | |||
| 510 | :type 'boolean) | 513 | :type 'boolean) |
| 511 | 514 | ||
| 512 | (defcustom prolog-electric-dot-full-predicate-template nil | 515 | (defcustom prolog-electric-dot-full-predicate-template nil |
| 513 | "*If nil, electric dot inserts only the current predicate's name and `(' | 516 | "If nil, electric dot inserts only the current predicate's name and `(' |
| 514 | for recursive calls or new clause heads. Non-nil means to also | 517 | for recursive calls or new clause heads. Non-nil means to also |
| 515 | insert enough commas to cover the predicate's arity and `)', | 518 | insert enough commas to cover the predicate's arity and `)', |
| 516 | and dot and newline for recursive calls." | 519 | and dot and newline for recursive calls." |
| @@ -518,41 +521,41 @@ and dot and newline for recursive calls." | |||
| 518 | :type 'boolean) | 521 | :type 'boolean) |
| 519 | 522 | ||
| 520 | (defcustom prolog-electric-underscore-flag nil | 523 | (defcustom prolog-electric-underscore-flag nil |
| 521 | "*Non-nil means make underscore key electric. | 524 | "Non-nil means make underscore key electric. |
| 522 | Electric underscore replaces the current variable with underscore. | 525 | Electric underscore replaces the current variable with underscore. |
| 523 | If underscore is pressed not on a variable then it behaves as usual." | 526 | If underscore is pressed not on a variable then it behaves as usual." |
| 524 | :group 'prolog-keyboard | 527 | :group 'prolog-keyboard |
| 525 | :type 'boolean) | 528 | :type 'boolean) |
| 526 | 529 | ||
| 527 | (defcustom prolog-electric-tab-flag nil | 530 | (defcustom prolog-electric-tab-flag nil |
| 528 | "*Non-nil means make TAB key electric. | 531 | "Non-nil means make TAB key electric. |
| 529 | Electric TAB inserts spaces after parentheses, ->, and ; | 532 | Electric TAB inserts spaces after parentheses, ->, and ; |
| 530 | in ( If -> Then ; Else) and ( Disj1 ; Disj2 ) style expressions." | 533 | in ( If -> Then ; Else) and ( Disj1 ; Disj2 ) style expressions." |
| 531 | :group 'prolog-keyboard | 534 | :group 'prolog-keyboard |
| 532 | :type 'boolean) | 535 | :type 'boolean) |
| 533 | 536 | ||
| 534 | (defcustom prolog-electric-if-then-else-flag nil | 537 | (defcustom prolog-electric-if-then-else-flag nil |
| 535 | "*Non-nil makes `(', `>' and `;' electric | 538 | "Non-nil makes `(', `>' and `;' electric |
| 536 | to automatically indent if-then-else constructs." | 539 | to automatically indent if-then-else constructs." |
| 537 | :group 'prolog-keyboard | 540 | :group 'prolog-keyboard |
| 538 | :type 'boolean) | 541 | :type 'boolean) |
| 539 | 542 | ||
| 540 | (defcustom prolog-electric-colon-flag nil | 543 | (defcustom prolog-electric-colon-flag nil |
| 541 | "*Makes `:' electric (inserts `:-' on a new line). | 544 | "Makes `:' electric (inserts `:-' on a new line). |
| 542 | If non-nil, pressing `:' at the end of a line that starts in | 545 | If non-nil, pressing `:' at the end of a line that starts in |
| 543 | the first column (i.e., clause heads) inserts ` :-' and newline." | 546 | the first column (i.e., clause heads) inserts ` :-' and newline." |
| 544 | :group 'prolog-keyboard | 547 | :group 'prolog-keyboard |
| 545 | :type 'boolean) | 548 | :type 'boolean) |
| 546 | 549 | ||
| 547 | (defcustom prolog-electric-dash-flag nil | 550 | (defcustom prolog-electric-dash-flag nil |
| 548 | "*Makes `-' electric (inserts a `-->' on a new line). | 551 | "Makes `-' electric (inserts a `-->' on a new line). |
| 549 | If non-nil, pressing `-' at the end of a line that starts in | 552 | If non-nil, pressing `-' at the end of a line that starts in |
| 550 | the first column (i.e., DCG heads) inserts ` -->' and newline." | 553 | the first column (i.e., DCG heads) inserts ` -->' and newline." |
| 551 | :group 'prolog-keyboard | 554 | :group 'prolog-keyboard |
| 552 | :type 'boolean) | 555 | :type 'boolean) |
| 553 | 556 | ||
| 554 | (defcustom prolog-old-sicstus-keys-flag nil | 557 | (defcustom prolog-old-sicstus-keys-flag nil |
| 555 | "*Non-nil means old SICStus Prolog mode keybindings are used." | 558 | "Non-nil means old SICStus Prolog mode keybindings are used." |
| 556 | :group 'prolog-keyboard | 559 | :group 'prolog-keyboard |
| 557 | :type 'boolean) | 560 | :type 'boolean) |
| 558 | 561 | ||
| @@ -570,7 +573,7 @@ the first column (i.e., DCG heads) inserts ` -->' and newline." | |||
| 570 | (not (executable-find (car names)))) | 573 | (not (executable-find (car names)))) |
| 571 | (setq names (cdr names))) | 574 | (setq names (cdr names))) |
| 572 | (or (car names) "prolog")))) | 575 | (or (car names) "prolog")))) |
| 573 | "*Alist of program names for invoking an inferior Prolog with `run-prolog'." | 576 | "Alist of program names for invoking an inferior Prolog with `run-prolog'." |
| 574 | :group 'prolog-inferior | 577 | :group 'prolog-inferior |
| 575 | :type 'sexp) | 578 | :type 'sexp) |
| 576 | (defun prolog-program-name () | 579 | (defun prolog-program-name () |
| @@ -579,7 +582,7 @@ the first column (i.e., DCG heads) inserts ` -->' and newline." | |||
| 579 | (defcustom prolog-program-switches | 582 | (defcustom prolog-program-switches |
| 580 | '((sicstus ("-i")) | 583 | '((sicstus ("-i")) |
| 581 | (t nil)) | 584 | (t nil)) |
| 582 | "*Alist of switches given to inferior Prolog run with `run-prolog'." | 585 | "Alist of switches given to inferior Prolog run with `run-prolog'." |
| 583 | :group 'prolog-inferior | 586 | :group 'prolog-inferior |
| 584 | :type 'sexp) | 587 | :type 'sexp) |
| 585 | (defun prolog-program-switches () | 588 | (defun prolog-program-switches () |
| @@ -594,7 +597,7 @@ the first column (i.e., DCG heads) inserts ` -->' and newline." | |||
| 594 | (swi "[%f].") | 597 | (swi "[%f].") |
| 595 | (gnu "[%f].") | 598 | (gnu "[%f].") |
| 596 | (t "reconsult(%f).")) | 599 | (t "reconsult(%f).")) |
| 597 | "*Alist of strings defining predicate for reconsulting. | 600 | "Alist of strings defining predicate for reconsulting. |
| 598 | 601 | ||
| 599 | Some parts of the string are replaced: | 602 | Some parts of the string are replaced: |
| 600 | `%f' by the name of the consulted file (can be a temporary file) | 603 | `%f' by the name of the consulted file (can be a temporary file) |
| @@ -616,7 +619,7 @@ Some parts of the string are replaced: | |||
| 616 | "prolog:zap_file(%m,%b,compile)."))) | 619 | "prolog:zap_file(%m,%b,compile)."))) |
| 617 | (swi "[%f].") | 620 | (swi "[%f].") |
| 618 | (t "compile(%f).")) | 621 | (t "compile(%f).")) |
| 619 | "*Alist of strings and lists defining predicate for recompilation. | 622 | "Alist of strings and lists defining predicate for recompilation. |
| 620 | 623 | ||
| 621 | Some parts of the string are replaced: | 624 | Some parts of the string are replaced: |
| 622 | `%f' by the name of the compiled file (can be a temporary file) | 625 | `%f' by the name of the compiled file (can be a temporary file) |
| @@ -634,7 +637,7 @@ If `prolog-program-name' is nil, it is an argument to the `compile' function." | |||
| 634 | (prolog-find-value-by-system prolog-compile-string)) | 637 | (prolog-find-value-by-system prolog-compile-string)) |
| 635 | 638 | ||
| 636 | (defcustom prolog-eof-string "end_of_file.\n" | 639 | (defcustom prolog-eof-string "end_of_file.\n" |
| 637 | "*Alist of strings that represent end of file for prolog. | 640 | "Alist of strings that represent end of file for prolog. |
| 638 | nil means send actual operating system end of file." | 641 | nil means send actual operating system end of file." |
| 639 | :group 'prolog-inferior | 642 | :group 'prolog-inferior |
| 640 | :type 'sexp) | 643 | :type 'sexp) |
| @@ -645,7 +648,7 @@ nil means send actual operating system end of file." | |||
| 645 | (swi "^\\(\\[[a-zA-Z]*\\] \\)?[1-9]?[0-9]*[ ]?\\?- \\|^| +") | 648 | (swi "^\\(\\[[a-zA-Z]*\\] \\)?[1-9]?[0-9]*[ ]?\\?- \\|^| +") |
| 646 | (gnu "^| \\?-") | 649 | (gnu "^| \\?-") |
| 647 | (t "^|? *\\?-")) | 650 | (t "^|? *\\?-")) |
| 648 | "*Alist of prompts of the prolog system command line." | 651 | "Alist of prompts of the prolog system command line." |
| 649 | :group 'prolog-inferior | 652 | :group 'prolog-inferior |
| 650 | :type 'sexp) | 653 | :type 'sexp) |
| 651 | (defun prolog-prompt-regexp () | 654 | (defun prolog-prompt-regexp () |
| @@ -654,42 +657,42 @@ nil means send actual operating system end of file." | |||
| 654 | ;; (defcustom prolog-continued-prompt-regexp | 657 | ;; (defcustom prolog-continued-prompt-regexp |
| 655 | ;; '((sicstus "^\\(| +\\| +\\)") | 658 | ;; '((sicstus "^\\(| +\\| +\\)") |
| 656 | ;; (t "^|: +")) | 659 | ;; (t "^|: +")) |
| 657 | ;; "*Alist of regexps matching the prompt when consulting `user'." | 660 | ;; "Alist of regexps matching the prompt when consulting `user'." |
| 658 | ;; :group 'prolog-inferior | 661 | ;; :group 'prolog-inferior |
| 659 | ;; :type 'sexp) | 662 | ;; :type 'sexp) |
| 660 | 663 | ||
| 661 | (defcustom prolog-debug-on-string "debug.\n" | 664 | (defcustom prolog-debug-on-string "debug.\n" |
| 662 | "*Predicate for enabling debug mode." | 665 | "Predicate for enabling debug mode." |
| 663 | :group 'prolog-inferior | 666 | :group 'prolog-inferior |
| 664 | :type 'string) | 667 | :type 'string) |
| 665 | 668 | ||
| 666 | (defcustom prolog-debug-off-string "nodebug.\n" | 669 | (defcustom prolog-debug-off-string "nodebug.\n" |
| 667 | "*Predicate for disabling debug mode." | 670 | "Predicate for disabling debug mode." |
| 668 | :group 'prolog-inferior | 671 | :group 'prolog-inferior |
| 669 | :type 'string) | 672 | :type 'string) |
| 670 | 673 | ||
| 671 | (defcustom prolog-trace-on-string "trace.\n" | 674 | (defcustom prolog-trace-on-string "trace.\n" |
| 672 | "*Predicate for enabling tracing." | 675 | "Predicate for enabling tracing." |
| 673 | :group 'prolog-inferior | 676 | :group 'prolog-inferior |
| 674 | :type 'string) | 677 | :type 'string) |
| 675 | 678 | ||
| 676 | (defcustom prolog-trace-off-string "notrace.\n" | 679 | (defcustom prolog-trace-off-string "notrace.\n" |
| 677 | "*Predicate for disabling tracing." | 680 | "Predicate for disabling tracing." |
| 678 | :group 'prolog-inferior | 681 | :group 'prolog-inferior |
| 679 | :type 'string) | 682 | :type 'string) |
| 680 | 683 | ||
| 681 | (defcustom prolog-zip-on-string "zip.\n" | 684 | (defcustom prolog-zip-on-string "zip.\n" |
| 682 | "*Predicate for enabling zip mode for SICStus." | 685 | "Predicate for enabling zip mode for SICStus." |
| 683 | :group 'prolog-inferior | 686 | :group 'prolog-inferior |
| 684 | :type 'string) | 687 | :type 'string) |
| 685 | 688 | ||
| 686 | (defcustom prolog-zip-off-string "nozip.\n" | 689 | (defcustom prolog-zip-off-string "nozip.\n" |
| 687 | "*Predicate for disabling zip mode for SICStus." | 690 | "Predicate for disabling zip mode for SICStus." |
| 688 | :group 'prolog-inferior | 691 | :group 'prolog-inferior |
| 689 | :type 'string) | 692 | :type 'string) |
| 690 | 693 | ||
| 691 | (defcustom prolog-use-standard-consult-compile-method-flag t | 694 | (defcustom prolog-use-standard-consult-compile-method-flag t |
| 692 | "*Non-nil means use the standard compilation method. | 695 | "Non-nil means use the standard compilation method. |
| 693 | Otherwise the new compilation method will be used. This | 696 | Otherwise the new compilation method will be used. This |
| 694 | utilizes a special compilation buffer with the associated | 697 | utilizes a special compilation buffer with the associated |
| 695 | features such as parsing of error messages and automatically | 698 | features such as parsing of error messages and automatically |
| @@ -706,40 +709,40 @@ is non-nil for this variable." | |||
| 706 | 709 | ||
| 707 | (defcustom prolog-use-prolog-tokenizer-flag | 710 | (defcustom prolog-use-prolog-tokenizer-flag |
| 708 | (not (fboundp 'syntax-propertize-rules)) | 711 | (not (fboundp 'syntax-propertize-rules)) |
| 709 | "*Non-nil means use the internal prolog tokenizer for indentation etc. | 712 | "Non-nil means use the internal prolog tokenizer for indentation etc. |
| 710 | Otherwise use `parse-partial-sexp' which is faster but sometimes incorrect." | 713 | Otherwise use `parse-partial-sexp' which is faster but sometimes incorrect." |
| 711 | :group 'prolog-other | 714 | :group 'prolog-other |
| 712 | :type 'boolean) | 715 | :type 'boolean) |
| 713 | 716 | ||
| 714 | (defcustom prolog-imenu-flag t | 717 | (defcustom prolog-imenu-flag t |
| 715 | "*Non-nil means add a clause index menu for all prolog files." | 718 | "Non-nil means add a clause index menu for all prolog files." |
| 716 | :group 'prolog-other | 719 | :group 'prolog-other |
| 717 | :type 'boolean) | 720 | :type 'boolean) |
| 718 | 721 | ||
| 719 | (defcustom prolog-imenu-max-lines 3000 | 722 | (defcustom prolog-imenu-max-lines 3000 |
| 720 | "*The maximum number of lines of the file for imenu to be enabled. | 723 | "The maximum number of lines of the file for imenu to be enabled. |
| 721 | Relevant only when `prolog-imenu-flag' is non-nil." | 724 | Relevant only when `prolog-imenu-flag' is non-nil." |
| 722 | :group 'prolog-other | 725 | :group 'prolog-other |
| 723 | :type 'integer) | 726 | :type 'integer) |
| 724 | 727 | ||
| 725 | (defcustom prolog-info-predicate-index | 728 | (defcustom prolog-info-predicate-index |
| 726 | "(sicstus)Predicate Index" | 729 | "(sicstus)Predicate Index" |
| 727 | "*The info node for the SICStus predicate index." | 730 | "The info node for the SICStus predicate index." |
| 728 | :group 'prolog-other | 731 | :group 'prolog-other |
| 729 | :type 'string) | 732 | :type 'string) |
| 730 | 733 | ||
| 731 | (defcustom prolog-underscore-wordchar-flag nil | 734 | (defcustom prolog-underscore-wordchar-flag nil |
| 732 | "*Non-nil means underscore (_) is a word-constituent character." | 735 | "Non-nil means underscore (_) is a word-constituent character." |
| 733 | :group 'prolog-other | 736 | :group 'prolog-other |
| 734 | :type 'boolean) | 737 | :type 'boolean) |
| 735 | 738 | ||
| 736 | (defcustom prolog-use-sicstus-sd nil | 739 | (defcustom prolog-use-sicstus-sd nil |
| 737 | "*If non-nil, use the source level debugger of SICStus 3#7 and later." | 740 | "If non-nil, use the source level debugger of SICStus 3#7 and later." |
| 738 | :group 'prolog-other | 741 | :group 'prolog-other |
| 739 | :type 'boolean) | 742 | :type 'boolean) |
| 740 | 743 | ||
| 741 | (defcustom prolog-char-quote-workaround nil | 744 | (defcustom prolog-char-quote-workaround nil |
| 742 | "*If non-nil, declare 0 as a quote character to handle 0'<char>. | 745 | "If non-nil, declare 0 as a quote character to handle 0'<char>. |
| 743 | This is really kludgy, and unneeded (i.e. obsolete) in Emacs>=24." | 746 | This is really kludgy, and unneeded (i.e. obsolete) in Emacs>=24." |
| 744 | :group 'prolog-other | 747 | :group 'prolog-other |
| 745 | :type 'boolean) | 748 | :type 'boolean) |