Commit 0ad0386e authored by Dave Love's avatar Dave Love
Browse files

(ps-mode): Set comment-start and

comment-start-skip locally.
parent f4f4ee4d
......@@ -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 ()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment