From e48a5bf9ddcf13d87aa4964de40df063333ce37e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C3=ABl=20Cadilhac?= Date: Wed, 3 Oct 2007 23:40:07 +0000 Subject: [PATCH] (doc-view-dvi->pdf-sentinel, doc-view-reset-slice) (doc-view-insert-image): Minor aesthetical docstring changes. --- lisp/ChangeLog | 7 ++++++- lisp/doc-view.el | 7 +++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 21d477ffe25..72087863880 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,4 +1,9 @@ -2007-10-04 Tassilo Horn +2007-10-03 Micha,Ak(Bl Cadilhac + + * doc-view.el (doc-view-dvi->pdf-sentinel, doc-view-reset-slice) + (doc-view-insert-image): Minor aesthetical docstring changes. + +2007-10-03 Tassilo Horn * doc-view.el (doc-view): Don't ignore pdf and dvi files when completing filename. diff --git a/lisp/doc-view.el b/lisp/doc-view.el index e64dd37d1fc..d7d2bb47abb 100644 --- a/lisp/doc-view.el +++ b/lisp/doc-view.el @@ -343,8 +343,7 @@ It'a a subdirectory of `doc-view-cache-directory'." (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 @@ dragging it to its bottom-right corner. See also (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 @@ again." (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))) -- 2.39.5