Juanma Barranquero
06b605171f
lisp/*.el: Lexical-binding cleanup.
2011-04-19 15:44:55 +02:00
Glenn Morris
73b0cd5003
Convert consecutive FSF copyright years to ranges.
2011-01-24 20:08:28 -08:00
Stefan Monnier
74a10be5d3
* lisp/electric.el (electric-indent-post-self-insert-function):
...
Don't auto-indent for indent-to-left-margin, it's too often
counter-productive.
2011-01-17 21:11:51 -05:00
Glenn Morris
0d9f702fd0
Nuke arch-tags.
2011-01-15 15:16:57 -08:00
Stefan Monnier
77ab81d054
Merge from emacs-23
2011-01-14 12:18:41 -05:00
Glenn Morris
5df4f04cd3
Add 2011 to FSF/AIST copyright years.
2011-01-02 15:50:46 -08:00
Stefan Monnier
a733fc3715
* lisp/electric.el (electric-indent-post-self-insert-function):
...
Delete trailing newlines even if we don't reindent.
2010-12-07 10:36:08 -05:00
Stefan Monnier
c51bb5d2c2
* lisp/electric.el (electric-pair-pairs): New var.
...
(electric-pair-post-self-insert-function): Use it.
(electric-layout-post-self-insert-function): Don't insert a before
newline unless it's actually needed.
2010-11-17 21:43:42 -05:00
Stefan Monnier
7100ff9844
* lisp/electric.el (electric-layout-mode): New minor mode.
...
(electric--after-char-pos): New function.
(electric-indent-post-self-insert-function): Use it.
(electric-layout-rules): New var.
(electric-layout-post-self-insert-function): New function.
(electric-indent-mode): Make them interact better.
2010-11-16 16:14:46 -05:00
Stefan Monnier
2122161f8d
* lisp/electric.el (electric-indent-chars): Autoload.
...
* lisp/progmodes/octave-mod.el (octave-mode):
* lisp/progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
(ruby-mode-abbrev-table): Merge initialization and declaration.
2010-10-27 10:26:01 -04:00
Stefan Monnier
6aeafb3437
* lisp/electric.el (electric-indent-post-self-insert-function):
...
Don't reindent with a sloppy indentation function.
2010-09-05 00:54:58 +02:00
Stefan Monnier
3b843809ca
* lisp/electric.el (electricity): New group.
...
(electric-indent-chars): New var.
(electric-indent-post-self-insert-function): New fun.
(electric-indent-mode): New minor mode.
(electric-pair-skip-self): New custom.
(electric-pair-post-self-insert-function): New function.
(electric-pair-mode): New minor mode.
2010-09-03 15:06:51 +02:00
Stefan Monnier
ba5bf5f0f9
Misc code tweaks.
...
* electric.el (Electric-command-loop): Minor tweak.
* ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
better with dedicated windows.
2010-05-07 20:20:30 -04:00
Glenn Morris
114f9c9679
Add 2010 to copyright years.
2010-01-13 00:35:10 -08:00
Glenn Morris
1e4bd40da2
Replace last-input-char with last-input-event.
2009-01-09 05:00:56 +00:00
Glenn Morris
8989a9203f
Replace last-command-char with last-command-event.
2009-01-09 04:44:15 +00:00
Glenn Morris
ae940284fa
Add 2009 to copyright years.
2009-01-05 03:18:22 +00:00
Martin Rudalics
0e87e61e29
(Electric-pop-up-window): Call window-end with UPDATE set to t.
2008-11-04 07:27:15 +00:00
Chong Yidong
48238d1d45
(Electric-pop-up-window): Don't shrink the window if it's already big
...
enough.
2008-10-29 21:42:37 +00:00
Glenn Morris
eb3fa2cfcf
Switch to recommended form of GPLv3 permissions notice.
2008-05-06 08:06:51 +00:00
Stefan Monnier
cbee283dd7
Fix up comment convention on the arch-tag lines.
2008-04-10 14:10:46 +00:00
Glenn Morris
409cc4a3ea
Add 2008 to copyright years.
2008-01-07 02:45:14 +00:00
Glenn Morris
b4aa60262c
Switch license to GPLv3 or later.
2007-07-25 04:50:21 +00:00
Glenn Morris
d7a0267c8d
Add 2007 to copyright years.
2007-01-21 03:53:13 +00:00
Glenn Morris
e91081eb9e
Update copyright years.
2006-12-05 06:15:26 +00:00
Thien-Thi Nguyen
aaef169dc6
Update years in copyright notice; nfc.
2006-02-06 15:23:23 +00:00
Thien-Thi Nguyen
0d30b33766
Update years in copyright notice; nfc.
2005-08-06 22:13:43 +00:00
Lute Kamstra
086add1519
Update FSF's address.
2005-07-04 23:32:44 +00:00
Richard M. Stallman
c45c149c37
(Electric-pop-up-window): Use fit-window-to-buffer
...
instead of calculating the right size.
2005-01-02 23:11:26 +00:00
Stefan Monnier
e09dc079db
(Electric-pop-up-window): Avoid popping up a new frame.
2004-03-26 15:15:07 +00:00
Thien-Thi Nguyen
4a5717d19f
(Electric-pop-up-window): For the `one-window' case,
...
no longer disconcertingly move point in the original buffer.
2003-09-13 13:53:30 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Juanma Barranquero
71296446d3
Trailing whitespace deleted.
2003-02-04 11:26:42 +00:00
Pavel Janík
5553563924
Some fixes to follow coding conventions in files maintained by FSF.
2001-07-15 16:15:35 +00:00
Richard M. Stallman
f867d8d3ae
(Electric-command-loop): Set universal-argument-other-key to 0.
1996-04-04 22:06:47 +00:00
Erik Naggum
b578f267af
Update FSF's address.
1996-01-14 07:34:30 +00:00
Richard M. Stallman
f135afd313
(Electric-command-loop): Don't display a prompt
...
if 2nd arg equals or returns 'noprompt.
1995-10-21 22:22:06 +00:00
Richard M. Stallman
7dc8eff950
(Electric-command-loop): Use eq to compare events.
1993-06-03 03:48:37 +00:00
Eric S. Raymond
17e2c564c7
(shrink-window-if-larger-than-buffer): Moved to window.el.
1993-04-16 19:23:21 +00:00
Eric S. Raymond
a04adb2a9c
(shrink-window-if-larger-than-buffer) Added doc string. Made argument
...
optional, because window-buffer does the right thing with nil.
1993-03-28 06:24:42 +00:00
Eric S. Raymond
c84729481b
Added standard library headers.
1993-03-17 15:20:58 +00:00
Jim Blandy
dbc4e1c129
JimB's changes since January 18th
1993-01-26 01:58:16 +00:00
Jim Blandy
ee4b6d4c61
* bytecomp.el: Declare unread-command-char an obsolete variable.
...
* vip.el (vip-escape-to-emacs, vip-prefix-arg-value,
vip-prefix-arg-com): Use unread-command-event instead of
unread-command-char; respect its new semantics.
* electric.el (Electric-command-loop): Same.
1992-11-16 01:31:33 +00:00
Eric S. Raymond
9750e079dd
entered into RCS
1992-07-22 04:22:30 +00:00
Eric S. Raymond
fd7fa35a05
*** empty log message ***
1992-07-17 08:15:29 +00:00
Eric S. Raymond
e516799970
*** empty log message ***
1992-07-16 21:47:34 +00:00
Jim Blandy
f98955eaaa
*** empty log message ***
1992-07-15 02:24:58 +00:00
Richard M. Stallman
17c17ec9b4
*** empty log message ***
1992-06-09 20:07:02 +00:00
Eric S. Raymond
c0274f385f
*** empty log message ***
1992-05-30 23:54:21 +00:00
Jim Blandy
49116ac071
*** empty log message ***
1992-03-16 20:39:07 +00:00