diff options
author | Dave Love <[email protected]> | 2000-11-28 16:39:56 +0000 |
---|---|---|
committer | Dave Love <[email protected]> | 2000-11-28 16:39:56 +0000 |
commit | 0ad0386ebbe9725c6c750d1c2e7d22e57106aa16 (patch) | |
tree | 5d82fb82be5be9c5e49542c73ea139d3d9c6c6ac /lisp/progmodes/ps-mode.el | |
parent | f4f4ee4d31736c302403d5c144da23052652643b (diff) |
(ps-mode): Set comment-start and
comment-start-skip locally.
Diffstat (limited to 'lisp/progmodes/ps-mode.el')
-rw-r--r-- | lisp/progmodes/ps-mode.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/progmodes/ps-mode.el b/lisp/progmodes/ps-mode.el index 5c821d64a7..3d011672d8 100644 --- a/lisp/progmodes/ps-mode.el +++ b/lisp/progmodes/ps-mode.el @@ -533,6 +533,9 @@ Typing \\<ps-run-mode-map>\\[ps-run-goto-error] when the cursor is at the number mode-name "PostScript") (use-local-map ps-mode-map) (set-syntax-table ps-mode-syntax-table) + (set (make-local-variable 'comment-start) "%") + (set (make-local-variable 'comment-start-skip) + "\\(\\(^\\|[^\\]\\)\\(\\\\\\\\\\)*\\)\\(%+ *\\)") (run-hooks 'ps-mode-hook)) (defun ps-mode-show-version () |