summaryrefslogtreecommitdiff
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
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>.
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/delsel.el2
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ca1387f62c..a80f7ef4f4 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
+2008-01-24 Juanma Barranquero <lekktu@gmail.com>
+
+ * delsel.el (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>.
+
2008-01-24 Martin Rudalics <rudalics@gmx.at>
* delsel.el (delete-selection-pre-hook): Avoid clearing out
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)