[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: disabling doc-view mode

From: Peter Dyballa
Subject: Re: disabling doc-view mode
Date: Sat, 29 Sep 2012 23:11:59 +0200

Am 29.09.2012 um 19:09 schrieb Stefan Monnier:

>>      (delete '("\\.\\(?:PDF\\|DVI\\|pdf\\|dvi\\)\\'" . doc-view-mode)
> This is pretty brittle.  Rather than try to "remove behavior" it's often
> easier to add behavior:
>  (add-to-list 'auto-mode-alist '("\\.ps\\'" . ps-mode))

GNU Emacs 24.2.50 already has:

 ("\\.[eE]?[pP][sS]\\'" . ps-mode)
 . doc-view-mode-maybe)

GNU Emacs 23.4 already has:

 ("\\.[eE]?[pP][sS]\\'" . ps-mode)
 ("\\.\\(?:PDF\\|DVI\\|pdf\\|dvi\\)\\'" . doc-view-mode)

So it seems to me that Marten has something customised that PS files are opened 
in doc-view-modeā€¦



Hard Disk, n.:
        A device that allows users to delete vast quantities of data with 
simple mnemonic commands.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]