Mercurial > emacs
comparison lisp/progmodes/ps-mode.el @ 85785:c3e74b102623
Tassilo Horn <tassilo at member.fsf.org>
(ps-mode-map): Enable doc-view-minor-mode.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Tue, 30 Oct 2007 06:30:34 +0000 |
parents | 2a7d60a28bcf |
children | fc93e9674475 880960b70474 |
comparison
equal
deleted
inserted
replaced
85784:b0dc7772c4dc | 85785:c3e74b102623 |
---|---|
527 ps-mode-font-lock-keywords-2 | 527 ps-mode-font-lock-keywords-2 |
528 ps-mode-font-lock-keywords-3) | 528 ps-mode-font-lock-keywords-3) |
529 t)) | 529 t)) |
530 (set (make-local-variable 'comment-start) "%") | 530 (set (make-local-variable 'comment-start) "%") |
531 ;; NOTE: `\' has a special meaning in strings only | 531 ;; NOTE: `\' has a special meaning in strings only |
532 (set (make-local-variable 'comment-start-skip) "%+[ \t]*")) | 532 (set (make-local-variable 'comment-start-skip) "%+[ \t]*") |
533 ;; enable doc-view-minor-mode => C-c C-c starts viewing the current ps file | |
534 ;; with doc-view-mode. | |
535 (doc-view-minor-mode 1)) | |
533 | 536 |
534 (defun ps-mode-show-version () | 537 (defun ps-mode-show-version () |
535 "Show current version of PostScript mode." | 538 "Show current version of PostScript mode." |
536 (interactive) | 539 (interactive) |
537 (message " *** PostScript Mode (ps-mode) Version %s *** " ps-mode-version)) | 540 (message " *** PostScript Mode (ps-mode) Version %s *** " ps-mode-version)) |