> (gimp-selection-is-empty img)
(FALSE)
(FALSE)
(if (= (car (gimp-selection-is-empty img)) FALSE) (do-stuff-to-selection) (gimp-message "Nothing is selected") )
- GIMP routines always return a list,
so use car to get the first element. - test booleans against TRUE or FALSE!