]> code.delx.au - gnu-emacs/blobdiff - lisp/org/org-capture.el
Merge from emacs-24; up to 2012-12-08T12:11:29Z!eliz@gnu.org
[gnu-emacs] / lisp / org / org-capture.el
index 1dfffc6fe1d3fbc93faef63dbfd0c4b099fe4a6b..c888536b3852cb84a634ae1b155e13245efbdb6d 100644 (file)
@@ -1,6 +1,6 @@
 ;;; org-capture.el --- Fast note taking in Org-mode
 
-;; Copyright (C) 2010-201 Free Software Foundation, Inc.
+;; Copyright (C) 2010-2013 Free Software Foundation, Inc.
 
 ;; Author: Carsten Dominik <carsten at orgmode dot org>
 ;; Keywords: outlines, hypermedia, calendar, wp
@@ -979,7 +979,7 @@ it.  When it is a variable, retrieve the value.  Return whatever we get."
   (show-all)
   (goto-char (org-capture-get :pos))
   (org-set-local 'org-capture-target-marker
-                (move-marker (make-marker) (point)))
+                (point-marker))
   (org-set-local 'outline-level 'org-outline-level)
   (let* ((template (org-capture-get :template))
         (type (org-capture-get :type)))