summaryrefslogtreecommitdiff
path: root/lisp/delsel.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2008-01-24 11:13:45 +0000
committerJuanma Barranquero <lekktu@gmail.com>2008-01-24 11:13:45 +0000
commit8c8e195273c8aa03aa2b9d953e1ab28a73d33c53 (patch)
tree33b6d2cd2b61bdfb897e83ceb5457db551c43c7a /lisp/delsel.el
parentb240275b833414e62c75c2873ba2552fd20518a3 (diff)
(delsel-unload-function): Don't use `remprop'; it is not autoloaded,
and we wouldn't want to load CL just to unload delsel.el anyway. Suggested by Martin Rudalics <rudalics@gmx.at>.
Diffstat (limited to 'lisp/delsel.el')
-rw-r--r--lisp/delsel.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/delsel.el b/lisp/delsel.el
index 990ca91ace..3f9a0c7b32 100644
--- a/lisp/delsel.el
+++ b/lisp/delsel.el
@@ -173,7 +173,7 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
(dolist (sym '(self-insert-command self-insert-iso yank clipboard-yank
insert-register delete-backward-char backward-delete-char-untabify
delete-char newline-and-indent newline open-line))
- (remprop sym 'delete-selection))
+ (put sym 'delete-selection nil))
;; continue standard unloading
nil)