Mercurial > emacs
changeset 62692:6dd34b690fa9
(thumbs-thumbsdir-max-size, thumbs-temp-file, thumbs-cleanup-thumbsdir,
thumbs-call-convert, thumbs-resize-interactive, thumbs-insert-image,
thumbs-insert-thumb, thumbs-dired-show-marked, thumbs-find-image-at-point,
thumbs-delete-images, thumbs-rename-images, thumbs-next-image,
thumbs-dired-setroot, thumbs-increment-image-size, thumbs-decrement-image-size):
Fix typos in docstrings.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Wed, 25 May 2005 14:08:33 +0000 |
parents | 1193719f830c |
children | 368b11560704 |
files | lisp/thumbs.el |
diffstat | 1 files changed, 17 insertions(+), 17 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/thumbs.el Wed May 25 01:50:05 2005 +0000 +++ b/lisp/thumbs.el Wed May 25 14:08:33 2005 +0000 @@ -83,7 +83,7 @@ (defcustom thumbs-thumbsdir-max-size 50000000 "Max size for thumbnails directory. -When it reach that size (in bytes), a warning is send." +When it reachs that size (in bytes), a warning is sent." :type 'string :group 'thumbs) @@ -142,7 +142,7 @@ ;; Initialize some variable, for later use. (defvar thumbs-temp-file (concat thumbs-temp-dir thumbs-temp-prefix) - "Temporary filesname for images.") + "Temporary filename for images.") (defvar thumbs-current-tmp-filename nil @@ -188,8 +188,8 @@ (defun thumbs-cleanup-thumbsdir () "Clean the thumbnails directory. -If the total size of all files in 'thumbs-thumbsdir' is bigger than -'thumbs-thumbsdir-max-size', files are deleted until the max size is +If the total size of all files in `thumbs-thumbsdir' is bigger than +`thumbs-thumbsdir-max-size', files are deleted until the max size is reached." (let* ((filesL (sort @@ -217,11 +217,11 @@ FILEIN is the input file, FILEOUT is the output file, ACTION is the command to send to convert. -Optional argument are: +Optional arguments are: ARG any arguments to the ACTION command, -OUTPUT-FORMAT is the file format to output, default is jpeg +OUTPUT-FORMAT is the file format to output (default is jpeg), ACTION-PREFIX is the symbol to place before the ACTION command - (default to '-' but can sometime be '+')." + (defaults to '-' but can sometimes be '+')." (let ((command (format "%s %s%s %s \"%s\" \"%s:%s\"" thumbs-conversion-program (or action-prefix "-") @@ -241,7 +241,7 @@ (round (- n (/ (* d n) 100)))) (defun thumbs-increment-image-size (s) - "Increment S (a cons of width x heigh)." + "Increment S (a cons of width x height)." (cons (thumbs-increment-image-size-element (car s) thumbs-image-resizing-step) @@ -249,7 +249,7 @@ thumbs-image-resizing-step))) (defun thumbs-decrement-image-size (s) - "Decrement S (a cons of width x heigh)." + "Decrement S (a cons of width x height)." (cons (thumbs-decrement-image-size-element (car s) thumbs-image-resizing-step) @@ -349,7 +349,7 @@ "Insert image IMG at point. TYPE and RELIEF will be used in constructing the image; see `image' in the emacs-lisp manual for further documentation. -if MARKED is non-nil, the image is marked." +If MARKED is non-nil, the image is marked." (let ((i `(image :type ,type :file ,img :relief ,relief @@ -361,7 +361,7 @@ (defun thumbs-insert-thumb (img &optional marked) "Insert the thumbnail for IMG at point. -if MARKED is non-nil, the image is marked" +If MARKED is non-nil, the image is marked." (thumbs-insert-image (thumbs-make-thumb img) 'jpeg thumbs-relief marked) (put-text-property (1- (point)) (point) @@ -403,7 +403,7 @@ ;;;###autoload (defun thumbs-dired-show-marked () - "In Dired, make a thumbs buffer with all marked files." + "In dired, make a thumbs buffer with all marked files." (interactive) (thumbs-show-thumbs-list (dired-get-marked-files) nil t)) @@ -435,7 +435,7 @@ (defun thumbs-find-image-at-point (&optional img otherwin) "Display image IMG for thumbnail at point. -use another window it OTHERWIN is t." +Use another window if OTHERWIN is t." (interactive) (let* ((i (or img (thumbs-current-image)))) (thumbs-find-image i (point) otherwin))) @@ -499,7 +499,7 @@ (nreverse list)))) (defun thumbs-delete-images () - "Delete the image at point (and it's thumbnail) (or marked files if any)." + "Delete the image at point (and its thumbnail) (or marked files if any)." (interactive) (let ((files (or thumbs-markedL (list (thumbs-current-image))))) (if (yes-or-no-p (format "Really delete %d files? " (length files))) @@ -520,7 +520,7 @@ (delq x thumbs-markedL))))))))) (defun thumbs-rename-images (newfile) - "Rename the image at point (and it's thumbnail) (or marked files if any)." + "Rename the image at point (and its thumbnail) (or marked files if any)." (interactive "FRename to file or directory: ") (let ((files (or thumbs-markedL (list (thumbs-current-image)))) failures) @@ -574,7 +574,7 @@ thumbs-current-image-filename i)))) (defun thumbs-next-image () - "Show next image." + "Show the next image." (interactive) (let* ((i (1+ thumbs-image-num)) (list (thumbs-file-alist)) @@ -782,7 +782,7 @@ ;;;###autoload (defun thumbs-dired-setroot () - "In dired, Call the setroot program on the image at point." + "In dired, call the setroot program on the image at point." (interactive) (thumbs-call-setroot-command (dired-get-filename)))