Mercurial > emacs
view etc/emacs.py @ 109456:406b2d52ff00
Revert 2010-07-14 change to deactivate mark; minor cleanups.
* mouse.el (mouse-drag-track): Use select-active-region.
* simple.el (select-active-region): New function.
(push-mark-command, set-mark, activate-mark)
(handle-shift-selection): Use it.
(deactivate-mark): Don't check for size of region.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sat, 17 Jul 2010 16:21:51 -0400 |
parents | 69c173eabff4 |
children | bdb3fe0ba9fa ef719132ddfa |
line wrap: on
line source
"""Wrapper for version-specific implementations of python.el helper functions """ import sys if sys.version_info[0] == 3: from emacs3 import * else: from emacs2 import * # arch-tag: 894b5227-638f-45fd-8567-0417d5c35900