From: Dave Love Date: Tue, 28 Nov 2000 16:39:56 +0000 (+0000) Subject: (ps-mode): Set comment-start and X-Git-Tag: emacs-pretest-21.0.92~4 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0ad0386ebbe9725c6c750d1c2e7d22e57106aa16;p=emacs.git (ps-mode): Set comment-start and comment-start-skip locally. --- 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 ()