From 0ad0386ebbe9725c6c750d1c2e7d22e57106aa16 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Tue, 28 Nov 2000 16:39:56 +0000 Subject: [PATCH] (ps-mode): Set comment-start and comment-start-skip locally. --- lisp/progmodes/ps-mode.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/progmodes/ps-mode.el b/lisp/progmodes/ps-mode.el index 5c821d64a74..3d011672d8e 100644 --- a/lisp/progmodes/ps-mode.el +++ b/lisp/progmodes/ps-mode.el @@ -533,6 +533,9 @@ Typing \\\\[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 () -- 2.39.2