diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2008-01-24 11:13:45 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2008-01-24 11:13:45 +0000 |
commit | 8c8e195273c8aa03aa2b9d953e1ab28a73d33c53 (patch) | |
tree | 33b6d2cd2b61bdfb897e83ceb5457db551c43c7a /lisp | |
parent | b240275b833414e62c75c2873ba2552fd20518a3 (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')
-rw-r--r-- | lisp/ChangeLog | 6 | ||||
-rw-r--r-- | lisp/delsel.el | 2 |
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) |