summaryrefslogtreecommitdiff
path: root/test/manual/cedet/tests/teststruct.cpp
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2019-10-31 10:31:27 +0100
committerMattias EngdegÄrd <mattiase@acm.org>2019-10-31 17:41:29 +0100
commitd75794fd5c168fb76406b88e231d8749160f934a (patch)
treef2ca99dbdca855ddc4d182658fda10233c44cac3 /test/manual/cedet/tests/teststruct.cpp
parent111a95fe6d209aff6e7f26cb6777fbdf02aae15d (diff)
downloademacs-d75794fd5c168fb76406b88e231d8749160f934a.tar.gz
emacs-d75794fd5c168fb76406b88e231d8749160f934a.tar.bz2
emacs-d75794fd5c168fb76406b88e231d8749160f934a.zip
Inhibit undo-in-region for mouse-drag-region (bug#37700)
'mouse-drag-region' leaves the region active around the dragged text, so a straight undo did not revert the entire operation. To remedy this, inhibit undo-in-region when the last command was mouse-drag-region. (Method suggested by Stefan Monnier.) * lisp/mouse.el (undo-drag-region): Set the undo-inhibit-region property. * lisp/simple.el (undo): Inhibit undo-in-region if the last command had the undo-inhibit-region property set. * doc/lispref/symbols.texi (Standard Properties): * doc/lispref/text.texi (Undo): Document undo-inhibit-region. * etc/NEWS: Announce the property.
Diffstat (limited to 'test/manual/cedet/tests/teststruct.cpp')
0 files changed, 0 insertions, 0 deletions