emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [PATCH] * lisp/org-src.el (org-edit-src-exit): disable undo.


From: Bastien
Subject: Re: [O] [PATCH] * lisp/org-src.el (org-edit-src-exit): disable undo.
Date: Fri, 08 Mar 2013 18:31:51 +0100
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux)

Hi Aaron,

Aaron Ecay <address@hidden> writes:

> Currently, this function modifies the buffer-undo-list, which it should
> not.  One can reproduce the undesirable behavior by creating a new org
> buffer and manually typing in the following text:
>
> #+begin_src emacs-lisp
>   foo
>   bar
> #+end_src
>
> Then press C-c ' twice to enter and exit the edit-src.  Then press C-/
> to undo: the cursor moves to the beginning of the source block.  Further
> presses of C-/ undo the original text entry (as expected).

Applied, thanks!

-- 
 Bastien



reply via email to

[Prev in Thread] Current Thread [Next in Thread]