diff options
| author | Stefan Kangas | 2022-09-18 02:03:16 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2022-09-18 02:06:21 +0200 |
| commit | e59058d57450c97ad160c13d4faec3729391dba1 (patch) | |
| tree | d5ebbd59285f930abaa61f9a501474bb3a12c159 | |
| parent | 7d3af135b90f129c0ee04d371261b2b2dd8c0951 (diff) | |
| download | emacs-e59058d57450c97ad160c13d4faec3729391dba1.tar.gz emacs-e59058d57450c97ad160c13d4faec3729391dba1.zip | |
; * lisp/image/image-dired.el: Use two spaces after period.
| -rw-r--r-- | lisp/image/image-dired-tags.el | 4 | ||||
| -rw-r--r-- | lisp/image/image-dired.el | 18 |
2 files changed, 11 insertions, 11 deletions
diff --git a/lisp/image/image-dired-tags.el b/lisp/image/image-dired-tags.el index a99253042c5..e97bf70e89a 100644 --- a/lisp/image/image-dired-tags.el +++ b/lisp/image/image-dired-tags.el | |||
| @@ -109,8 +109,8 @@ FILE-TAGS is an alist in the following form: | |||
| 109 | (when (search-forward-regexp | 109 | (when (search-forward-regexp |
| 110 | (format "\\(;%s\\)\\($\\|;\\)" tag) end t) | 110 | (format "\\(;%s\\)\\($\\|;\\)" tag) end t) |
| 111 | (delete-region (match-beginning 1) (match-end 1)) | 111 | (delete-region (match-beginning 1) (match-end 1)) |
| 112 | ;; Check if file should still be in the database. If | 112 | ;; Check if file should still be in the database. |
| 113 | ;; it has no tags or comments, it will be removed. | 113 | ;; If it has no tags or comments, it will be removed. |
| 114 | (end-of-line) | 114 | (end-of-line) |
| 115 | (setq end (point)) | 115 | (setq end (point)) |
| 116 | (beginning-of-line) | 116 | (beginning-of-line) |
diff --git a/lisp/image/image-dired.el b/lisp/image/image-dired.el index bc1f8e610fc..6b6399f7f4d 100644 --- a/lisp/image/image-dired.el +++ b/lisp/image/image-dired.el | |||
| @@ -47,7 +47,7 @@ | |||
| 47 | ;; browsing the thumbnail buffer was slow too. image-dired.el will not | 47 | ;; browsing the thumbnail buffer was slow too. image-dired.el will not |
| 48 | ;; create thumbnails until they are needed and the browsing is done | 48 | ;; create thumbnails until they are needed and the browsing is done |
| 49 | ;; quickly and easily in Dired. I copied a great deal of ideas and | 49 | ;; quickly and easily in Dired. I copied a great deal of ideas and |
| 50 | ;; code from there though... :) | 50 | ;; code from there though... :) |
| 51 | ;; | 51 | ;; |
| 52 | ;; `image-dired' stores the thumbnail files in `image-dired-dir' | 52 | ;; `image-dired' stores the thumbnail files in `image-dired-dir' |
| 53 | ;; using the file name format ORIGNAME.thumb.ORIGEXT. For example | 53 | ;; using the file name format ORIGNAME.thumb.ORIGEXT. For example |
| @@ -672,10 +672,10 @@ On reaching end or beginning of buffer, stop and show a message." | |||
| 672 | (let ((goal-column (current-column))) | 672 | (let ((goal-column (current-column))) |
| 673 | (forward-line -1) | 673 | (forward-line -1) |
| 674 | (move-to-column goal-column)) | 674 | (move-to-column goal-column)) |
| 675 | ;; If we end up in an empty spot, back up to the next | 675 | ;; If we end up in an empty spot, back up to the next thumbnail. |
| 676 | ;; thumbnail. This should only happen if the user deleted a | 676 | ;; This should only happen if the user deleted a thumbnail and did |
| 677 | ;; thumbnail and did not refresh, so it is not very common. But we | 677 | ;; not refresh, so it is not very common. But we can handle it in a |
| 678 | ;; can handle it in a good manner, so why not? | 678 | ;; good manner, so why not? |
| 679 | (if (not (image-dired-image-at-point-p)) | 679 | (if (not (image-dired-image-at-point-p)) |
| 680 | (image-dired-backward-image)) | 680 | (image-dired-backward-image)) |
| 681 | (if image-dired-track-movement | 681 | (if image-dired-track-movement |
| @@ -883,9 +883,9 @@ You probably want to use this together with | |||
| 883 | "<down-mouse-2>" #'image-dired-mouse-select-thumbnail | 883 | "<down-mouse-2>" #'image-dired-mouse-select-thumbnail |
| 884 | "<down-mouse-3>" #'image-dired-mouse-select-thumbnail | 884 | "<down-mouse-3>" #'image-dired-mouse-select-thumbnail |
| 885 | ;; Seems I must first set C-down-mouse-1 to undefined, or else it | 885 | ;; Seems I must first set C-down-mouse-1 to undefined, or else it |
| 886 | ;; will trigger the buffer menu. If I try to instead bind | 886 | ;; will trigger the buffer menu. If I try to instead bind |
| 887 | ;; C-down-mouse-1 to `image-dired-mouse-toggle-mark', I get a message | 887 | ;; C-down-mouse-1 to `image-dired-mouse-toggle-mark', I get a message |
| 888 | ;; about C-mouse-1 not being defined afterwards. Annoying, but I | 888 | ;; about C-mouse-1 not being defined afterwards. Annoying, but I |
| 889 | ;; probably do not completely understand mouse events. | 889 | ;; probably do not completely understand mouse events. |
| 890 | "C-<down-mouse-1>" #'undefined | 890 | "C-<down-mouse-1>" #'undefined |
| 891 | "C-<mouse-1>" #'image-dired-mouse-toggle-mark) | 891 | "C-<mouse-1>" #'image-dired-mouse-toggle-mark) |
| @@ -996,7 +996,7 @@ With a negative prefix argument, prompt user for the delay." | |||
| 996 | (string-to-number | 996 | (string-to-number |
| 997 | (let ((delay (number-to-string image-dired-slideshow-delay))) | 997 | (let ((delay (number-to-string image-dired-slideshow-delay))) |
| 998 | (read-string | 998 | (read-string |
| 999 | (format-prompt "Delay, in seconds. Decimals are accepted" delay)) | 999 | (format-prompt "Delay, in seconds. Decimals are accepted" delay)) |
| 1000 | delay)))))) | 1000 | delay)))))) |
| 1001 | (setq image-dired--slideshow-timer | 1001 | (setq image-dired--slideshow-timer |
| 1002 | (run-with-timer | 1002 | (run-with-timer |
| @@ -1856,7 +1856,7 @@ when using per-directory thumbnail file storage")) | |||
| 1856 | ;; `(,(file-attribute-access-time fattribs) | 1856 | ;; `(,(file-attribute-access-time fattribs) |
| 1857 | ;; ,(file-attribute-size fattribs) ,f))) | 1857 | ;; ,(file-attribute-size fattribs) ,f))) |
| 1858 | ;; (directory-files (image-dired-dir) t ".+\\.thumb\\..+$")) | 1858 | ;; (directory-files (image-dired-dir) t ".+\\.thumb\\..+$")) |
| 1859 | ;; ;; Sort function. Compare time between two files. | 1859 | ;; ;; Sort function. Compare time between two files. |
| 1860 | ;; (lambda (l1 l2) | 1860 | ;; (lambda (l1 l2) |
| 1861 | ;; (time-less-p (car l1) (car l2))))) | 1861 | ;; (time-less-p (car l1) (car l2))))) |
| 1862 | ;; (dirsize (apply '+ (mapcar (lambda (x) (cadr x)) files)))) | 1862 | ;; (dirsize (apply '+ (mapcar (lambda (x) (cadr x)) files)))) |