tags:

views:

176

answers:

2

Lets say I'm reading file a.txt with Emacs. At a specific point in this file, I would like to insert the entire contents of file b.txt. What's the easiest way to achieve this in Emacs? Thanks.

+12  A: 

Open the file you want to insert the text into and move to the insert point. Then just use M-x insert-file.

dolch
+11  A: 

C-x i runs the command insert-file, which inserts the contents of the file you choose at the current point.

Rudedog