Foolishly altering any line that's not straight (7)
I believe the answer is:
inanely
'foolishly' is the definition.
(synonyms)
'any line that's not straight' is the wordplay.
'that's not straight' is an anagram indicator.
'any'+'line'='anyline'
'anyline' anagrammed gives 'INANELY'.
'altering' is the link.
I am not very happy about this link. It may belong to another bit of the clue.
Can you help me to learn more?
(Other definitions for inanely that I've seen before include "in a daft way" , "Stupidly" , "In a fatuous manner" , "Senselessly" , "Vapidly" .)