[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: viewing MS powerpoint files from dired
From: |
Andreas Politz |
Subject: |
Re: viewing MS powerpoint files from dired |
Date: |
Wed, 08 Dec 2010 15:18:51 -0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Mirko <mvukovic@nycap.rr.com> writes:
> Hello,
>
> How can I teach dired to launch powerpoint on files with extension ppt
> (that is on MS Windows)?
>
> (Writing some elisp is OK).
>
> You can `blame' the DocView package for this question. Now that I can
> read pdf documents directly from dired, I would like to do the same
> for ppt docs.
>
> Thanks,
>
> Mirko
I use this function :
(defun dired-open-file (arg)
"Abuse org-open-file to open a file in dired."
(interactive "P")
(require 'org)
(if arg
(org-open-file (dired-get-filename)
(equal arg '(16)))
(dired-advertised-find-file)))
-ap