summaryrefslogtreecommitdiff
path: root/lisp/progmodes/pascal.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-08-17 22:08:36 +0000
committerRichard M. Stallman <rms@gnu.org>1995-08-17 22:08:36 +0000
commit6f6175436ad93676561ffbcfe1ffbc7d6418a988 (patch)
treed693c39f45cdfd438cdce5eacc0d8be37bca8b9e /lisp/progmodes/pascal.el
parent6b9e337f5f2f55390a7696e251b054382720b537 (diff)
downloademacs-6f6175436ad93676561ffbcfe1ffbc7d6418a988.tar.gz
(pascal-mode): Set comment-start.
(pascal-toggle-completions): Doc fix.
Diffstat (limited to 'lisp/progmodes/pascal.el')
-rw-r--r--lisp/progmodes/pascal.el10
1 files changed, 6 insertions, 4 deletions
diff --git a/lisp/progmodes/pascal.el b/lisp/progmodes/pascal.el
index 02d884f28f2..2e9a759ffdb 100644
--- a/lisp/progmodes/pascal.el
+++ b/lisp/progmodes/pascal.el
@@ -196,10 +196,10 @@ instance will do lineup in case-statements and parameterlist, while '(all)
will do all lineups.")
(defvar pascal-toggle-completions nil
- "*Non-nil means that \\<pascal-mode-map>\\[pascal-complete-label] should \
-not display a completion buffer when
-the label couldn't be completed, but instead toggle the possible completions
-with repeated \\[pascal-complete-label]'s.")
+ "*Non-nil means \\<pascal-mode-map>\\[pascal-complete-word] should try all possible completions one by one.
+Repeated use of \\[pascal-complete-word] will show you all of them.
+Normally, when there is more than one possible completion,
+it displays a list of all possible completions.")
(defvar pascal-type-keywords
'("array" "file" "packed" "char" "integer" "real" "string" "record")
@@ -320,6 +320,8 @@ no args, if that value is non-nil."
(setq parse-sexp-ignore-comments nil)
(make-local-variable 'case-fold-search)
(setq case-fold-search t)
+ (make-local-variable 'comment-start)
+ (setq comment-start "{")
(make-local-variable 'comment-start-skip)
(setq comment-start-skip "(\\*+ *\\|{ *")
(make-local-variable 'comment-end)