changeset 87936:b3879b6d2e40

(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>.
author Juanma Barranquero <lekktu@gmail.com>
date Thu, 24 Jan 2008 11:13:12 +0000
parents d6e9d37e0cc1
children 603fbab24035
files lisp/delsel.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/delsel.el	Thu Jan 24 10:44:22 2008 +0000
+++ b/lisp/delsel.el	Thu Jan 24 11:13:12 2008 +0000
@@ -173,7 +173,7 @@
   (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)