1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-09 08:21:30 -07:00
emacs/lisp
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
..
calc Extend ‘format’ to translate curved quotes 2015-08-14 15:55:57 -07:00
calendar Optional args for holiday-greek-orthodox-easter 2015-08-13 12:17:50 -07:00
cedet Handle pulse-background being nil 2015-08-15 12:18:46 -05:00
emacs-lisp Use curved quotes in core elisp diagnostics 2015-08-16 09:00:14 -07:00
emulation Fix minor quoting problems in doc strings 2015-05-28 00:22:03 -07:00
erc Fix some confusion with ‘format’ 2015-08-05 19:07:28 -07:00
eshell ; Do not overwrite preexisting contents of unread-command-events 2015-08-04 14:34:15 +02:00
gnus [Gnus]: Use overlay functions directly 2015-08-19 09:06:40 +00:00
international Improve fontset support for latest OTF script tags 2015-08-17 19:58:28 +03:00
language ; Do not overwrite preexisting contents of unread-command-events 2015-08-04 14:34:15 +02:00
leim/quail ; Do not overwrite preexisting contents of unread-command-events 2015-08-04 14:34:15 +02:00
mail Spelling fixes 2015-08-16 23:53:04 -07:00
mh-e Fix some “nested” quoting confusion in doc strings 2015-06-21 12:38:08 -07:00
net pinentry.el: Add debugging support 2015-08-19 11:40:44 +09:00
nxml Don't overflow if computing approximate percentage 2015-07-31 10:13:38 -07:00
obsolete Fix "\`" confusion in Lisp strings 2015-08-15 08:35:36 -07:00
org Remove no-op calls to substitute-command-keys 2015-08-09 07:48:23 -07:00
play Update version number in header (now matches help) 2015-08-17 15:30:15 -04:00
progmodes Make electric-pair-mode, delete-selection-mode and CC Mode cooperate. 2015-08-19 16:47:10 +00:00
term Use curved quotes in core elisp diagnostics 2015-08-16 09:00:14 -07:00
textmodes Fix "\`" confusion in Lisp strings 2015-08-15 08:35:36 -07:00
url * lisp/url/url-handlers.el (url-file-name-completion) 2015-05-11 23:51:58 -07:00
vc ; Do not overwrite preexisting contents of unread-command-events 2015-08-04 14:34:15 +02:00
abbrev.el Use curved quotes in core elisp diagnostics 2015-08-16 09:00:14 -07:00
align.el Don't overflow if computing approximate percentage 2015-07-31 10:13:38 -07:00
allout-widgets.el Fix some confusion with ‘format’ 2015-08-05 19:07:28 -07:00
allout.el substitute-command-keys a few more doc strings 2015-08-15 17:24:42 -07:00
ansi-color.el Improve ansi-color filtering of unrecognized escape sequences 2015-08-03 20:06:04 -07:00
apropos.el apropos-library quoting fix 2015-06-28 13:24:57 -07:00
arc-mode.el Fix a thinko in arc-mode.el 2015-06-08 17:22:44 +03:00
array.el
autoarg.el
autoinsert.el
autorevert.el Fix Bug#20943. 2015-07-16 20:04:07 +02:00
avoid.el Fix some confusion with ‘format’ 2015-08-05 19:07:28 -07:00
battery.el * lisp/battery.el: Make it work on my MSI Wind 2015-03-06 23:42:10 -05:00
bindings.el * lisp/bindings.el (debug-ignored-errors): Add mark-inactive. 2015-06-12 02:17:23 +03:00
bookmark.el * lisp/bookmark.el (bookmark-bmenu-goto-bookmark): Don't inf-loop. 2015-04-09 11:07:15 -04:00
bs.el
buff-menu.el
button.el Use curved quotes in core elisp diagnostics 2015-08-16 09:00:14 -07:00
calculator.el * lisp/calculator.el (calculator-funcall): 2015-05-18 20:54:24 -04:00
case-table.el
cdl.el
ChangeLog.1
ChangeLog.2
ChangeLog.3
ChangeLog.4
ChangeLog.5
ChangeLog.6
ChangeLog.7
ChangeLog.8
ChangeLog.9
ChangeLog.10
ChangeLog.11
ChangeLog.12
ChangeLog.13
ChangeLog.14
ChangeLog.15
ChangeLog.16 Change defgeneric so it doesn't completely redefine the function 2015-05-21 23:46:10 -04:00
ChangeLog.17 ; Omit entries that will appear in ChangeLog.2 2015-05-23 08:36:28 -07:00
character-fold.el * isearch.el (isearch-search-fun-default): Revert a5bdb87 2015-08-19 11:45:49 +01:00
chistory.el
cmuscheme.el ; Comment fixes. 2015-06-15 21:24:24 -04:00
color.el
comint.el ; Do not overwrite preexisting contents of unread-command-events 2015-08-04 14:34:15 +02:00
completion.el (completion-lisp-mode-hook): Use completion-separator-chars 2015-04-13 10:35:15 -04:00
composite.el
COPYING
cus-dep.el Tweak some build messages. 2015-06-05 16:10:18 -04:00
cus-edit.el Substitute some customization etc. doc strings 2015-08-02 00:05:25 -07:00
cus-face.el
cus-start.el Use curved quotes in core elisp diagnostics 2015-08-16 09:00:14 -07:00
cus-theme.el Prefer ‘format’ to ‘substitute-command-keys’ 2015-08-14 15:55:58 -07:00
custom.el Use curved quotes in core elisp diagnostics 2015-08-16 09:00:14 -07:00
dabbrev.el
delim-col.el
delsel.el Make electric-pair-mode, delete-selection-mode and CC Mode cooperate. 2015-08-19 16:47:10 +00:00
descr-text.el Prefer ‘format’ to ‘substitute-command-keys’ 2015-08-14 15:55:58 -07:00
desktop.el * lisp/desktop.el: If modes aren't autoloaded, try simple guesswork. 2015-05-25 23:27:55 -07:00
dframe.el
dired-aux.el Don't quote nil and t in doc strings 2015-05-21 10:06:44 -07:00
dired-x.el Fix parsing glitches in dired-mark-sexp (bug#13575) 2015-07-06 15:10:03 +02:00
dired.el ; Auto-commit of loaddefs files. 2015-07-06 15:10:27 +02:00
dirtrack.el Don't quote nil and t in doc strings 2015-05-21 10:06:44 -07:00
disp-table.el
dnd.el
doc-view.el doc-view.el (doc-view-kill-proc-and-buffer): Obsolete. 2015-02-06 07:44:02 -02:00
dom.el * lisp/dom.el: Load subr-x when compiling, for when-let. 2015-04-30 20:09:50 -04:00
dos-fns.el
dos-vars.el
dos-w32.el
double.el ; Do not overwrite preexisting contents of unread-command-events 2015-08-04 14:34:15 +02:00
dynamic-setting.el
ebuff-menu.el ; Do not overwrite preexisting contents of unread-command-events 2015-08-04 14:34:15 +02:00
echistory.el
edmacro.el cl-lib.el: Partial revert of "2015-04-05 Rationalize c[ad]+r" 2015-04-10 01:50:22 -04:00
ehelp.el ; Do not overwrite preexisting contents of unread-command-events 2015-08-04 14:34:15 +02:00
elec-pair.el Address some compilation warnings. 2015-06-16 20:28:48 -04:00
electric.el Electric quote if coding is undecided or no conv 2015-08-08 09:48:04 -07:00
elide-head.el
emacs-lock.el
env.el Use curved quotes in core elisp diagnostics 2015-08-16 09:00:14 -07:00
epa-dired.el
epa-file.el epa-inhibit inhibits auto-recognition of .gpg files 2015-08-12 11:19:47 -04:00
epa-hook.el
epa-mail.el
epa.el Utilize `quit-window' in epa.el 2015-08-09 14:33:44 +02:00
epg-config.el epg: Automatically start pinentry server 2015-07-16 15:43:03 +09:00
epg.el epg.el: Make gpgconf output parsing future proof 2015-08-18 12:13:36 +09:00
expand.el
ezimage.el
face-remap.el Address some compilation warnings. 2015-06-16 20:04:35 -04:00
facemenu.el Use curved quotes in core elisp diagnostics 2015-08-16 09:00:14 -07:00
faces.el Use curved quotes in core elisp diagnostics 2015-08-16 09:00:14 -07:00
ffap.el Use kpsewhich in ffap-latex-mode, if available 2015-08-09 18:41:44 +02:00
filecache.el * filecache.el (file-cache-filter-regexps): Add lock files (tiny change) 2015-02-23 23:50:44 -08:00
filenotify.el * filenotify.el (file-notify--descriptor): Do not cons for remote files. 2015-01-13 15:58:50 +01:00
files-x.el * lisp/files-x.el (add-file-local-variable): 2015-06-10 16:38:18 -04:00
files.el Use curved quotes in core elisp diagnostics 2015-08-16 09:00:14 -07:00
filesets.el
find-cmd.el
find-dired.el
find-file.el
find-lisp.el
finder.el Tweak some build messages. 2015-06-05 16:10:18 -04:00
flow-ctrl.el
foldout.el * lisp/foldout.el: Update for 2015-01-30 outline.el changes. 2015-04-28 21:09:25 -04:00
follow.el
font-core.el
font-lock.el Use curved quotes in core elisp diagnostics 2015-08-16 09:00:14 -07:00
format-spec.el
format.el Use curved quotes in core elisp diagnostics 2015-08-16 09:00:14 -07:00
forms.el Fix minor quoting problems in doc strings 2015-05-19 15:01:16 -07:00
frame.el Move window edge functions to Elisp. 2015-08-19 11:20:44 +02:00
frameset.el cl-lib.el: Partial revert of "2015-04-05 Rationalize c[ad]+r" 2015-04-10 01:50:22 -04:00
fringe.el Use curved quotes in core elisp diagnostics 2015-08-16 09:00:14 -07:00
generic-x.el
gs.el
help-at-pt.el
help-fns.el substitute-command-keys a few more doc strings 2015-08-15 17:24:42 -07:00
help-macro.el
help-mode.el Fix doc-string of `help-mode-finish'. 2015-08-19 11:33:25 +02:00
help.el Use curved quotes in core elisp diagnostics 2015-08-16 09:00:14 -07:00
hex-util.el
hexl.el eldoc: modify eldoc-documentation-function' using add-function' 2015-01-20 15:04:15 +01:00
hfy-cmap.el
hi-lock.el * lisp/eshell: Fix history substitution error 2015-02-24 14:03:54 -05:00
hilit-chg.el
hippie-exp.el Further lisp-complete-symbol related cleanup. 2015-05-18 20:51:47 -04:00
hl-line.el
htmlfontify.el Spelling fix for 'hfy-optimizations' 2015-04-05 23:43:22 -07:00
ibuf-ext.el
ibuf-macs.el
ibuffer.el Don't quote nil and t in doc strings 2015-05-21 10:06:44 -07:00
icomplete.el New command icomplete-force-complete-and-exit 2015-05-19 15:53:32 +03:00
ido.el Add argument to reverse the meaning of ido-restrict-to-matches 2015-07-02 00:57:07 +02:00
ielm.el Don't quote nil and t in doc strings 2015-05-21 10:06:44 -07:00
iimage.el
image-dired.el
image-file.el
image-mode.el image-mode.el (image-kill-buffer): New command bound to k. 2015-02-06 07:43:50 -02:00
image.el Use curved quotes in core elisp diagnostics 2015-08-16 09:00:14 -07:00
imenu.el Don't overflow if computing approximate percentage 2015-07-31 10:13:38 -07:00
indent.el * lisp/indent.el (indent-region): Don't deactivate the mark 2015-04-17 10:30:50 -04:00
info-look.el Accept curved quotes in doc strings 2015-05-28 00:22:03 -07:00
info-xref.el
info.el Extend ‘format’ to translate curved quotes 2015-08-14 15:55:57 -07:00
informat.el
isearch.el * isearch.el (isearch-search-fun-default): Revert a5bdb87 2015-08-19 11:45:49 +01:00
isearchb.el Add predicate' arg to read-buffer' and use it for erc-iswitchb 2015-03-16 14:49:01 -04:00
jit-lock.el Tidy up fix to debbugs#20240. 2015-04-05 14:40:57 +00:00
jka-cmpr-hook.el
jka-compr.el
json.el Only escape quotation mark, backslash and cntrl U+0000 to U+001F 2015-03-25 21:54:29 +02:00
kermit.el Fix some “nested” quoting confusion in doc strings 2015-06-21 12:38:08 -07:00
kmacro.el ; Do not overwrite preexisting contents of unread-command-events 2015-08-04 14:34:15 +02:00
ldefs-boot.el ; Auto-commit of loaddefs files. 2015-08-01 06:18:42 -04:00
linum.el Don't quote nil and t in doc strings 2015-05-21 10:06:44 -07:00
loadhist.el loadhist.el (read-feature): Conform to completing-read 2015-08-12 20:15:57 +02:00
loadup.el No need for cp51932.el, eucjp-ms.el to not be compiled any more. 2015-06-15 23:02:58 -07:00
locate.el
lpr.el
ls-lisp.el In strings, prefer plain and ' to \ and \' 2015-06-30 15:08:02 -07:00
macros.el * lisp/macros.el (name-last-kbd-macro, kbd-macro-query) 2015-06-15 20:41:54 -04:00
Makefile.in * leim/Makefile.in, lisp/Makefile.in: Add missing EXEEXT definition. 2015-06-30 16:20:39 -04:00
makesum.el
man.el Fix byte-compiler warnings about looking-back. 2015-04-20 21:55:00 -04:00
master.el
mb-depth.el
md4.el
menu-bar.el ; Spelling fixes 2015-07-05 23:17:48 -07:00
midnight.el * lisp/midnight.el: Make it a minor mode. Allow predicates. 2015-04-27 19:07:51 -04:00
minibuf-eldef.el
minibuffer.el ; Fix a typo 2015-07-08 13:57:40 +03:00
misc.el
misearch.el Add doc strings for some Isearch state vars 2015-04-07 10:13:48 -07:00
mouse-copy.el Replace an obsolete function alias 2015-04-28 23:40:27 -07:00
mouse-drag.el Don't block changes in mouse pointer inside 'track-mouse' 2015-06-30 18:59:21 +03:00
mouse.el Use curved quotes in core elisp diagnostics 2015-08-16 09:00:14 -07:00
mpc.el
msb.el
mwheel.el
newcomment.el newcomment.el (comment-line): Fix missing paren. 2015-02-08 20:24:36 -02:00
notifications.el
novice.el
outline.el lisp/outline.el (outline-show-entry): Fix one invisible char 2015-02-08 16:08:40 +01:00
paren.el
password-cache.el
pcmpl-cvs.el * lisp/pcmpl-cvs.el (pcmpl-cvs-entries): Don't assume CVS/Entries exists. 2015-05-23 12:06:23 -04:00
pcmpl-gnu.el
pcmpl-linux.el
pcmpl-rpm.el
pcmpl-unix.el pcmpl-ssh-known-hosts: Use char-before' instead of looking-back'. 2015-04-03 13:57:42 +02:00
pcmpl-x.el
pcomplete.el ; Do not overwrite preexisting contents of unread-command-events 2015-08-04 14:34:15 +02:00
printing.el
proced.el
profiler.el Don't overflow if computing approximate percentage 2015-07-31 10:13:38 -07:00
ps-bdf.el
ps-def.el
ps-mule.el
ps-print.el Don't overflow if computing approximate percentage 2015-07-31 10:13:38 -07:00
ps-samp.el
README
recentf.el Prefer "this" to “this” in doc strings 2015-05-19 19:08:52 -07:00
rect.el * lisp/rect.el (delete-whitespace-rectangle-line): Don't cross EOL. 2015-04-12 15:50:02 +02:00
register.el Push mark before goto-char in jump-to-register and check-parens 2015-02-18 16:36:24 -02:00
repeat.el
replace.el Use curved quotes in core elisp diagnostics 2015-08-16 09:00:14 -07:00
reposition.el
reveal.el
rfn-eshadow.el
rot13.el
ruler-mode.el Don't block changes in mouse pointer inside 'track-mouse' 2015-06-30 18:59:21 +03:00
savehist.el
saveplace.el * lisp/saveplace.el (save-place-mode): New minor mode. 2015-04-27 19:12:11 -04:00
sb-image.el
scroll-all.el
scroll-bar.el Use curved quotes in core elisp diagnostics 2015-08-16 09:00:14 -07:00
scroll-lock.el
select.el Replace gui-method macros with cl-generic with &context 2015-05-23 11:32:29 -04:00
server.el Improve recent change to emacsclient on Cygwin 2015-07-07 10:24:09 -04:00
ses.el Don't quote nil and t in doc strings 2015-05-21 10:06:44 -07:00
shadowfile.el
shell.el Fix shell-for/backward-command to exclude spaces 2015-06-23 09:19:36 +08:00
simple.el Allow blink-matching-paren to jump off screen 2015-08-18 23:31:52 +03:00
skeleton.el Pass lambdas to `skeleton-read' 2015-07-24 19:27:56 +03:00
sort.el
soundex.el
speedbar.el
startup.el Curved quotes in --batch diagnostics in non-UTF-8 2015-08-17 12:01:26 -07:00
strokes.el
subr.el Use curved quotes in core elisp diagnostics 2015-08-16 09:00:14 -07:00
t-mouse.el
tabify.el
talk.el
tar-mode.el Allow for adding new members to Tar archives. 2015-01-27 21:56:57 +00:00
tempo.el
term.el ; Do not overwrite preexisting contents of unread-command-events 2015-08-04 14:34:15 +02:00
thingatpt.el Fix bug in thing-at-point--bounds-of-well-formed-url 2015-07-09 10:19:42 +08:00
thumbs.el
time-stamp.el New optional ZONE arg for format-time-string etc. 2015-07-26 12:44:54 -07:00
time.el New optional ZONE arg for format-time-string etc. 2015-07-26 12:44:54 -07:00
timezone.el
tmm.el In strings, prefer plain and ' to \ and \' 2015-06-30 15:08:02 -07:00
tool-bar.el
tooltip.el
tree-widget.el
tutorial.el Fix key binding quoting in tutorial *Help* 2015-08-19 09:41:31 -07:00
type-break.el Don't quote nil and t in doc strings 2015-05-21 10:06:44 -07:00
uniquify.el (uniquify-ask-about-buffer-names-p): Remove, unused (bug#21037) 2015-08-13 16:53:49 -04:00
userlock.el
vcursor.el
version.el * lisp/version.el (emacs-repository-version-git): Demote errors. 2015-06-14 16:33:05 -07:00
view.el
vt-control.el
vt100-led.el
w32-fns.el * lisp/w32-fns.el (w32-shell-name): Silence compiler. 2015-05-05 20:10:59 -07:00
w32-vars.el Resurrect the lost optional fixed font menu on w32 2015-03-17 20:29:55 +02:00
wdired.el
whitespace.el Declare whitespace-line-column a safe file-local 2015-07-09 01:38:29 +03:00
wid-browse.el
wid-edit.el Substitute some customization etc. doc strings 2015-08-02 00:05:25 -07:00
widget.el Don't quote nil and t in doc strings 2015-05-21 10:06:44 -07:00
windmove.el Fix minor quoting problems in doc strings 2015-05-19 15:01:16 -07:00
window.el Move window edge functions to Elisp. 2015-08-19 11:20:44 +02:00
winner.el Use user-error where error is inappropriate 2015-02-18 16:36:22 -02:00
woman.el Don't quote nil and t in doc strings 2015-05-21 10:06:44 -07:00
x-dnd.el browse-url: mark some of the more obsolete stuff as such 2015-03-24 23:26:48 -07:00
xml.el
xt-mouse.el Prefer "this" to “this” in doc strings 2015-05-19 19:08:52 -07:00

This directory contains source code for the parts of Emacs that are
written in Emacs Lisp.  *.el files are Emacs Lisp source, and the
corresponding *.elc files are byte-compiled versions.  Byte-compiled
files are architecture-independent.

The term subdirectory contains Lisp files that customize Emacs for
certain terminal types.  When Emacs starts, it checks the TERM
environment variable to get the terminal type and loads
`term/${TERM}.el' if it exists.

The other subdirectories hold Lisp packages grouped by their general
purpose.