1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00

Don't put delete-selection' property on insert-parentheses' symbol

to take advantage of region handling in `insert-pair' function.
Suggested by Stephan Stahl <stahl@eos.franken.de>
This commit is contained in:
Juri Linkov 2004-05-01 04:03:28 +00:00
parent 5891bf24d9
commit 8aa3c14796
2 changed files with 32 additions and 2 deletions

View File

@ -1,3 +1,35 @@
2004-04-30 Juri Linkov <juri@jurta.org>
* cus-edit.el (custom-mode-map):
Add key binding `C-x C-s' to `Custom-save'.
* outline.el (outline-blank-line): New var.
(outline-next-preface, outline-show-heading)
(outline-end-of-subtree): Use it.
* dired-aux.el (dired-touch-initial): New fun.
(dired-do-chxxx): Call it for op-symbol `touch'.
* bindings.el (propertized-buffer-identification):
Replace `(:weight bold)' by `Buffer-menu-buffer-face'.
Add C-M-arrow keys for consistency.
* files.el (confirm-kill-emacs):
Change group from top-level `emacs' to `convenience'.
* emacs-lisp/lisp.el (beginning-of-defun, end-of-defun):
Push mark on the first call of successive command calls.
(insert-pair): New fun created from `insert-parentheses' with
`open' and `close' arguments added. Enclose active regions
in paired characters. Compare adjacent characters syntax with
inserted characters syntax before inserting a space.
(insert-parentheses): Call `insert-pair' with ?\( ?\).
* delsel.el: Don't put `delete-selection' property
on `insert-parentheses' symbol to take advantage of
region handling in `insert-pair' function.
Suggested by Stephan Stahl <stahl@eos.franken.de>
2004-04-30 Kim F. Storm <storm@cua.dk>
* emulation/cua-base.el: Add support for changing cursor types;

View File

@ -123,8 +123,6 @@ any selection."
(put 'newline 'delete-selection t)
(put 'open-line 'delete-selection 'kill)
(put 'insert-parentheses 'delete-selection t)
;; This is very useful for cancelling a selection in the minibuffer without
;; aborting the minibuffer.
(defun minibuffer-keyboard-quit ()