Edit source: fix 'end' initialisation
commit4524a02b39e55b1ab3989c0c5281121ad84f4fb0
authorMichael Gauland <mike_gauland@stanfordalumni.org>
Thu, 6 Dec 2012 21:44:09 +0000 (7 10:44 +1300)
committerBastien Guerry <bzg@altern.org>
Thu, 13 Dec 2012 22:47:07 +0000 (13 23:47 +0100)
tree5f3a46419a1ddbaebdc9d742e1085f8d31c1a7d5
parent22e4a4ecb9c36bddf7960f532838ddbbddb21414
Edit source: fix 'end' initialisation

* org-src.el: Create a marker to pass to copy-marker.

This fixes a 'wrong type argument' error when running
org-edit-src-code (observed on Emacs 23.2.1).

The problem was that copy-marker expects a marker, and it was given
nil. This change gives it a marker that doesn't point anywhere, but
still lets us set the insertion type of the end marker.

TINYCHANGE
lisp/org-src.el