FR 6274 then VY 1148 at Barcelona
Edinburgh → Barcelona → Lisbon
Timetable, Barcelona time
21:00FR 6274 from Edinburgh at the gate
15:40VY 1148 to Lisbon leaves the gate
18 h 40 apart on the timetable, overnight
VY 1148 leaves 18 h 40 after FR 6274 arrives on the timetable: more than half a day, so not a connection we count.