;; the standard (i.e. Qt programs).
"text/plain" "text/plain;charset=utf-8")
(cl-ecase action
- ('copy 'XdndActionCopy)
- ('move 'XdndActionMove))
+ (copy 'XdndActionCopy)
+ (move 'XdndActionMove))
frame nil allow-same-frame)))
(cond
((eq return-value 'XdndActionCopy) 'copy)
;; programs.
"_DT_NETFILE")
(cl-ecase action
- ('copy 'XdndActionCopy)
- ('move 'XdndActionMove)
- ('link 'XdndActionLink))
+ (copy 'XdndActionCopy)
+ (move 'XdndActionMove)
+ (link 'XdndActionLink))
frame nil allow-same-frame)))
(cond
((eq return-value 'XdndActionCopy) 'copy)
;; and Haiku.
"FILE_NAME" "HOST_NAME")
(cl-ecase action
- ('copy 'XdndActionCopy)
- ('move 'XdndActionMove)
- ('link 'XdndActionLink))
+ (copy 'XdndActionCopy)
+ (move 'XdndActionMove)
+ (link 'XdndActionLink))
frame nil allow-same-frame)))
(cond
((eq return-value 'XdndActionCopy) 'copy)
(save-window-excursion
(switch-to-buffer (cdr buffer) t t)
(cl-case (car buffer)
- ('dired
+ (dired
(dired-goto-file file)
(let (found)
(while (and (not found)
;; If we didn't find a next/prev file, then restore
;; point.
(dired-goto-file file))))
- ('archive
+ (archive
(setq next (archive-next-file-displayer file regexp n)))
- ('tar
+ (tar
(setq next (tar-next-file-displayer file regexp n))))))
next))
"Do type-based post-processing of the value."
(cl-case type
;; Chop off trailing zero byte.
- ('ascii (substring value 0 (1- (length value))))
- ('rational (with-temp-buffer
- (set-buffer-multibyte nil)
- (insert value)
- (goto-char (point-min))
- (cons (exif--read-number 4 le)
- (exif--read-number 4 le))))
+ (ascii (substring value 0 (1- (length value))))
+ (rational (with-temp-buffer
+ (set-buffer-multibyte nil)
+ (insert value)
+ (goto-char (point-min))
+ (cons (exif--read-number 4 le)
+ (exif--read-number 4 le))))
(otherwise value)))
(defun exif--read-chunk (bytes)
()
(let ((pos (nth 8 (cadr event))))
(cl-case state
- ('begin
+ (begin
(cond
((eq (car event) 'down-mouse-1)
(setq state 'stretch
(cl-getf area :top) (cdr pos)
(cl-getf area :right) (car pos)
(cl-getf area :bottom) (cdr pos)))))
- ('stretch
+ (stretch
(cond
((eq (car event) 'mouse-movement)
(setf (cl-getf area :right) (car pos)
((memq (car event) '(mouse-1 drag-mouse-1))
(setq state 'corner
prompt "Choose corner to adjust (RET to crop)"))))
- ('corner
+ (corner
(cond
((eq (car event) 'down-mouse-1)
;; Find out what corner we're close to.
(when corner
(setq state 'adjust
prompt "Adjust crop")))))
- ('adjust
+ (adjust
(cond
((memq (car event) '(mouse drag-mouse-1))
(setq state 'corner
((eq (car event) 'mouse-movement)
(setf (cl-getf area (car corner)) (car pos)
(cl-getf area (cadr corner)) (cdr pos)))))
- ('move-unclick
+ (move-unclick
(cond
((eq (car event) 'down-mouse-1)
(setq state 'move-click
prompt "Move"))))
- ('move-click
+ (move-click
(cond
((eq (car event) 'mouse-movement)
(setf (cl-getf area :left) (car pos)
(if win (set-window-point win pos)))
(when compilation-auto-jump-to-first-error
(cl-case compilation-auto-jump-to-first-error
- ('if-location-known
+ (if-location-known
(when (compilation--file-known-p)
(compile-goto-error)))
- ('first-known
+ (first-known
(let (match)
(while (and (not (compilation--file-known-p))
(setq match (text-property-search-forward