# HG changeset patch # User Glenn Morris # Date 1193725834 0 # Node ID c3e74b102623a7a06f82ae7522278bf8190245cc # Parent b0dc7772c4dc248e88d4c9d5f039f240eee21450 Tassilo Horn (ps-mode-map): Enable doc-view-minor-mode. diff -r b0dc7772c4dc -r c3e74b102623 lisp/progmodes/ps-mode.el --- a/lisp/progmodes/ps-mode.el Tue Oct 30 06:29:51 2007 +0000 +++ b/lisp/progmodes/ps-mode.el Tue Oct 30 06:30:34 2007 +0000 @@ -529,7 +529,10 @@ t)) (set (make-local-variable 'comment-start) "%") ;; NOTE: `\' has a special meaning in strings only - (set (make-local-variable 'comment-start-skip) "%+[ \t]*")) + (set (make-local-variable 'comment-start-skip) "%+[ \t]*") + ;; enable doc-view-minor-mode => C-c C-c starts viewing the current ps file + ;; with doc-view-mode. + (doc-view-minor-mode 1)) (defun ps-mode-show-version () "Show current version of PostScript mode."