diff options
author | Michal Nazarewicz <mina86@mina86.com> | 2014-03-28 17:26:15 +0100 |
---|---|---|
committer | Michal Nazarewicz <mina86@mina86.com> | 2014-03-28 17:26:15 +0100 |
commit | 687e0e19ae4dbd1a6fc3f6d3d21fd6b754e7589d (patch) | |
tree | d8bb4a9be7427f3dd5102b7f33934f817f04cca2 /lisp/mail/emacsbug.el | |
parent | 82a863c134dcab10ec1049272caf5d14557994fc (diff) | |
download | emacs-687e0e19ae4dbd1a6fc3f6d3d21fd6b754e7589d.tar.gz |
Make `cycle-spacing' behave more like `just-one-space' if colled once.
* simple.el (cycle-spacing): Never delete spaces on first run by
default, but do so in a new 'fast mode and if there are already
N spaces (the previous behaviour).
Compare N with its value in previous invocation so that changing
prefix argument restarts `cycle-spacing' sequence.
The idea is that with this change, binding M-SPC to
`cycle-spacing' should not introduce any changes in behaviour of
the binding so long as users do not type M-SPC twice in a raw with
the same prefix argument or lack thereof.
Diffstat (limited to 'lisp/mail/emacsbug.el')
0 files changed, 0 insertions, 0 deletions