Changeset 3372

Show
Ignore:
Timestamp:
07/24/04 11:07:46 (4 years ago)
Author:
miyoshi
Message:

(dired-view-command-alist): New alist from Emacs CVS
HEAD.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/2.1/lisp/ChangeLog.Meadow

    r3356 r3372  
     12004-07-24  MIYOSHI Masanori  <miyoshi@meadowy.org> 
     2 
     3        * dired.el (dired-view-command-alist): New alist from Emacs CVS 
     4        HEAD. 
     5 
    162004-07-16  Masayuki Fujii  <boochang@m4.kcn.ne.jp> 
    27 
  • branches/2.1/lisp/dired.el

    r3348 r3372  
    188188;; Note this can't simply be run inside function `dired-ls' as the hook 
    189189;; functions probably depend on the dired-subdir-alist to be OK. 
     190 
     191(defcustom dired-view-command-alist 
     192  '(("[.]\\(ps\\|ps_pages\\|eps\\)\\'" . "gv -spartan -color -watch %s") 
     193    ("[.]pdf\\'" . "xpdf %s") 
     194    ("[.]\\(jpe?g\\|gif\\|png\\)\\'" . "eog %s") 
     195    ("[.]dvi\\'" . "xdvi -sidemargin 0.5 -topmargin 1 %s")) 
     196  "Alist specifying how to view special types of files. 
     197Each element has the form (REGEXP . SHELL-COMMAND). 
     198When the file name matches REGEXP, `dired-view-file' 
     199invokes SHELL-COMMAND to view the file, processing it through `format'. 
     200Use `%s' in SHELL-COMMAND to specify where to put the file name." 
     201  :group 'dired 
     202  :type '(alist :key-type regexp :value-type string) 
     203  :version "21.4") 
    190204 
    191205;;; Internal variables