1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 10:31:37 -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 Fix byte-compiler warnings about looking-back. 2015-04-20 21:55:00 -04:00
ada-prj.el
ada-stmt.el
ada-xref.el Don't quote nil and t in doc strings 2015-05-21 10:06:44 -07:00
antlr-mode.el
asm-mode.el
autoconf.el
bat-mode.el
bug-reference.el
cc-align.el
cc-awk.el Quieten cc-mode compilation 2015-05-06 16:00:22 -04:00
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 Don't quote nil and t in doc strings 2015-05-21 10:06:44 -07:00
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 Make c-submit-bug-report file reports at debbugs.gnu.org. (Bug#15784) 2015-05-26 23:29:25 -07:00
cc-styles.el
cc-vars.el
cfengine.el Fix a bug in cfengine3-mode 2015-07-19 12:39:37 +08:00
cmacexp.el Fix error diagnostics of c-macro-expand 2015-05-02 12:01:04 +03:00
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 * lisp/progmodes/executable.el (executable-self-display): Obsolete. 2015-06-10 16:24:32 -04:00
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 Fix minor quoting problems in doc strings 2015-05-19 15:01:16 -07:00
glasses.el
grep.el Bind grep-highlight-matches around the rgrep call 2015-06-28 04:38:11 +03:00
gud.el Have gud-display-line not display source buffer in gud window. 2015-03-18 08:15:54 +01:00
hideif.el cl-lib.el: Partial revert of "2015-04-05 Rationalize c[ad]+r" 2015-04-10 01:50:22 -04:00
hideshow.el
icon.el
idlw-complete-structtag.el
idlw-help.el
idlw-shell.el Don't quote nil and t in doc strings 2015-05-21 10:06:44 -07:00
idlw-toolbar.el
idlwave.el Don't overflow if computing approximate percentage 2015-07-31 10:13:38 -07:00
inf-lisp.el ; Comment fixes. 2015-06-15 21:24:24 -04:00
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 * lisp/progmodes/perl-mode.el: Refine handling of /re/ and y/abc/def/ 2015-06-15 17:10:06 -04:00
prog-mode.el Some generic support for multi-mode indentation. 2015-06-14 14:47:16 +00:00
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 2015-03-14 Michael R. Mauger <michael@mauger.com> 2015-03-14 23:05:28 -04:00
subword.el
tcl.el * lisp/progmodes/tcl.el (tcl-filter): 2015-05-12 21:19:38 -04:00
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