1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-01 03:11:09 -08:00
emacs/lisp/progmodes
Alan Mackenzie 82a3da21ff Make electric-pair-mode, delete-selection-mode and CC Mode cooperate.
Fixes debbugs#21275.

In Emacs >= 25, let electric-pair-mode take precedence over
delete-selection-mode.
delsel.el (delete-selection-uses-region-p): New function, previously a
lambda expression in a property value for `self-insert-command'.
(top-level) Set the `delete-selection' property of `self-insert-command'
to `delete-selection-uses-region-p'.

progmodes/cc-cmds.el (top-level): Give the `delete-selection' property
for c-electric-\(brace\|paren\) the value `delete-selection-uses-region-p'
when the latter function exists.
2015-08-19 16:47:10 +00:00
..
ada-mode.el
ada-prj.el
ada-stmt.el
ada-xref.el
antlr-mode.el
asm-mode.el
autoconf.el
bat-mode.el
bug-reference.el
cc-align.el
cc-awk.el
cc-bytecomp.el
cc-cmds.el Make electric-pair-mode, delete-selection-mode and CC Mode cooperate. 2015-08-19 16:47:10 +00:00
cc-defs.el Introduce new macros to cover Emacs's new names in cl-lib.el. 2015-08-12 21:28:55 +00:00
cc-engine.el Introduce new macros to cover Emacs's new names in cl-lib.el. 2015-08-12 21:28:55 +00:00
cc-fonts.el Introduce new macros to cover Emacs's new names in cl-lib.el. 2015-08-12 21:28:55 +00:00
cc-guess.el
cc-langs.el Introduce new macros to cover Emacs's new names in cl-lib.el. 2015-08-12 21:28:55 +00:00
cc-menus.el
cc-mode.el
cc-styles.el
cc-vars.el
cfengine.el Fix a bug in cfengine3-mode 2015-07-19 12:39:37 +08:00
cmacexp.el
compile.el * lisp/progmodes/compile.el: Assume 8-wide TABs (bug#21038) 2015-08-13 16:59:16 -04:00
cperl-mode.el ; Do not overwrite preexisting contents of unread-command-events 2015-08-04 14:34:15 +02:00
cpp.el Don't overflow if computing approximate percentage 2015-07-31 10:13:38 -07:00
cwarn.el
dcl-mode.el
ebnf-abn.el
ebnf-bnf.el
ebnf-dtd.el
ebnf-ebx.el
ebnf-iso.el
ebnf-otz.el
ebnf-yac.el
ebnf2ps.el
ebrowse.el ; Do not overwrite preexisting contents of unread-command-events 2015-08-04 14:34:15 +02:00
elisp-mode.el Spelling fixes 2015-08-16 23:53:04 -07:00
etags.el Don't pass NOVISIT to find-file 2015-08-01 14:40:55 +03:00
executable.el
f90.el * lisp/progmodes/f90.el (f90-type-def-re): Handle attribute lists 2015-07-05 19:25:04 -07:00
flymake.el In strings, prefer plain and ' to \ and \' 2015-06-30 15:08:02 -07:00
fortran.el ; Do not overwrite preexisting contents of unread-command-events 2015-08-04 14:34:15 +02:00
gdb-mi.el
glasses.el
grep.el Bind grep-highlight-matches around the rgrep call 2015-06-28 04:38:11 +03:00
gud.el
hideif.el
hideshow.el
icon.el
idlw-complete-structtag.el
idlw-help.el
idlw-shell.el
idlw-toolbar.el
idlwave.el Don't overflow if computing approximate percentage 2015-07-31 10:13:38 -07:00
inf-lisp.el
js.el Correct js-mode's lighter 2015-07-19 08:18:56 +03:00
ld-script.el
m4-mode.el
make-mode.el In strings, prefer plain and ' to \ and \' 2015-06-30 15:08:02 -07:00
mantemp.el
meta-mode.el
mixal-mode.el
modula2.el
octave.el ; Do not overwrite preexisting contents of unread-command-events 2015-08-04 14:34:15 +02:00
opascal.el Don't overflow if computing approximate percentage 2015-07-31 10:13:38 -07:00
pascal.el
perl-mode.el
prog-mode.el
project.el Add project-vc-search-path and project-vc-ignores 2015-08-10 04:05:24 +03:00
prolog.el Fix some confusion with ‘format’ 2015-08-05 19:07:28 -07:00
ps-mode.el
python.el ; python.el: Emacs 24.x compatibility fixes 2015-08-11 23:56:25 -03:00
ruby-mode.el Fix some confusion with ‘format’ 2015-08-05 19:07:28 -07:00
scheme.el
sh-script.el * lisp/progmodes/sh-script.el (sh-mode): Handle .cshrc (bug#21049) 2015-08-13 17:05:44 -04:00
simula.el
sql.el
subword.el
tcl.el
vera-mode.el
verilog-mode.el Update verilog-mode.el to 2015-05-14-6232468-vpo-GNU. 2015-08-16 08:44:16 -04:00
vhdl-mode.el ; Do not overwrite preexisting contents of unread-command-events 2015-08-04 14:34:15 +02:00
which-func.el
xref.el elisp--xref-find-definitions handle cl-defstuct default constructor 2015-08-11 14:29:34 -05:00
xscheme.el