Can anybody tell me if there any feature films that used existing themes as source music? In the television miniseries "QB VII", John Barry and Don Black's theme from "Born Free" can be heard in the scene where writer Abe Cady meets Lady Margaret, and in "The Detective", David Raksin's "Laura" can be heard in a bar (both "QB VII" and "The Detective" were scored by Jerry Goldsmith).
There's the cheeky moment in Moonraker where the alien contact notes from Close Encounters is used as an audio code. Pretty sure the Bernstein later on in the film is non-diegetic, though.
Of course, I'd be remiss if I didn't mention the Bond theme being played on cobra flute in Octopussy, possibly the only time in the series that Bond heard his own theme.
In the remake of BATTLESTAR GALACTICA Stu Philip's theme for the original show can be heard as source music, it's an in-Universe celebratory anthem in the newer show.
In the remake of BATTLESTAR GALACTICA Stu Philip's theme for the original show can be heard as source music it's a celebratory anthem in the newer show.
The original series used it as a military fanfare in one episode as well.
Star Trek used a lounge music arrangement as party background in two episodes.
In Cary Grant's last film Walk Don't Run (1966) he is heard humming/singing/whistling the theme songs to two of his films: An Affair to Remember and Charade
There are many of them. One of the best known and prominent examples is from The Eagle has Landed when one of the German paratroopers plays Lalo Schifrin's main theme on the church organ.
We have watched several episodes of STATION ELEVEN. One man tries out for an acting troop and gives the President's speech from Independence Day. Arnold's theme is played in the background.
MGM used Andre Previn's "Fashion Show" cue from DESIGNING WOMAN several times, notably in NORTH BY NORTHWEST and THE PRIZE.
A rather bizarre example is in the Fox film noir I WAKE UP SCREAMING. The score contains the song "Over the Rainbow," which was of course from an MGM film. Cyril Mockridge has screen credit for the music, but I'd like to know who at Fox insisted on using this particular song throughout the film.
I imagine the OP is referring only to existing themes from other movies used as source in films.
As the use of themes from the same score as source has too many examples to mention (Mancini did it regularly, John Barry did it also a lot on his James Bond scores).
1984 film "Best Defense", opened a few months after Temple of Doom, Kate Capshaw's character humming the Indiana Jones theme. I think that was the only funny moment in that movie.
In 1973's THE DON IS DEAD, there's a scene in a restaurant. In the background, the restaurant's muzak is playing Alfred Newman's Love Theme from AIRPORT (1970). It wasn't the version heard in that film, however. It was re-orchestrated. Since both films were from Universal, I guess they had the rights.