Mercurial > emacs
changeset 85029:63718012f1da
(doc-view-dvi->pdf-sentinel, doc-view-reset-slice)
(doc-view-insert-image): Minor aesthetical docstring changes.
author | Michaël Cadilhac <michael.cadilhac@lrde.org> |
---|---|
date | Wed, 03 Oct 2007 23:39:58 +0000 |
parents | b4d8913ba93a |
children | 7b9d290575ed |
files | lisp/doc-view.el |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/doc-view.el Wed Oct 03 23:28:19 2007 +0000 +++ b/lisp/doc-view.el Wed Oct 03 23:39:58 2007 +0000 @@ -343,8 +343,7 @@ (md5 (current-buffer))))))) (defun doc-view-dvi->pdf-sentinel (proc event) - "If DVI->PDF conversion was successful, convert the PDF to PNG - now." + "If DVI->PDF conversion was successful, convert the PDF to PNG now." (if (not (string-match "finished" event)) (message "DocView: dvi->pdf process changed status to %s." event) (set-buffer (process-get proc 'buffer)) @@ -530,7 +529,7 @@ (doc-view-set-slice x y w h))) (defun doc-view-reset-slice () - "Resets the current slice. + "Reset the current slice. After calling this function the whole pages will be visible again." (interactive) @@ -542,7 +541,7 @@ (defun doc-view-insert-image (file &rest args) "Insert the given png FILE. -ARGs is a list of image descriptors." +ARGS is a list of image descriptors." (let ((image (apply 'create-image file 'png nil args))) (setq doc-view-current-image image) (insert-image image (concat "[" file "]") nil doc-view-current-slice)))