Fix logging in indirect buffers
* lisp/org.el (org-store-log-note): Ensure insertion point is available in the narrowed part of the current buffer. Reported-by: Mark Edgington <edgimar@gmail.com> <http://permalink.gmane.org/gmane.emacs.orgmode/98152>
This commit is contained in:
parent
9540ff8d7a
commit
9fd317b1b0
|
@ -13738,7 +13738,7 @@ EXTRA is additional text that will be inserted into the notes buffer."
|
|||
(setq lines nil))
|
||||
(when lines
|
||||
(with-current-buffer (marker-buffer org-log-note-marker)
|
||||
(save-excursion
|
||||
(org-with-wide-buffer
|
||||
(goto-char org-log-note-marker)
|
||||
(move-marker org-log-note-marker nil)
|
||||
;; Make sure point is at the beginning of an empty line.
|
||||
|
|
Loading…
Reference in New Issue