diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-08-04 06:47:28 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-08-04 06:47:28 +0000 |
commit | a6b9b0c5eb297a16881c5bd6ca6b21d68b1c94e6 (patch) | |
tree | 12bd33228ce023aab1d4e2acd15ff780c7275961 /lisp/delsel.el | |
parent | 666da7836b0dc32ebf3b78359c51439f217a320b (diff) |
(delete-selection-mode): Delete the :initialize keyword.
Don't explicitly check the value and call delete-selection-mode.
Don't put on a custom-loads property.
Diffstat (limited to 'lisp/delsel.el')
-rw-r--r-- | lisp/delsel.el | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/lisp/delsel.el b/lisp/delsel.el index 0aea9cf221..ffd8f990eb 100644 --- a/lisp/delsel.el +++ b/lisp/delsel.el @@ -1,11 +1,10 @@ ;;; delsel.el --- delete selection if you insert -;; Copyright (C) 1992 Free Software Foundation, Inc. +;; Copyright (C) 1992, 1997 Free Software Foundation, Inc. ;; Author: Matthieu Devin <devin@lucid.com> ;; Maintainer: FSF ;; Created: 14 Jul 92 -;; Last change 18-Feb-93, devin. ;; This file is part of GNU Emacs. @@ -63,18 +62,9 @@ typed text replaces the selection if the selection is active. You must modify via \\[customize] for this variable to have an effect." :set (lambda (symbol value) (delete-selection-mode (or value 0))) - :initialize 'custom-initialize-default :type 'boolean :group 'editing-basics :require 'delsel) -;; Force loading of this file in order to customize delete-selection-mode. -(put 'delete-selection-mode 'custom-loads '(delsel)) - -;; This is the standard way mechanism to put the mode into effect -;; if delete-selection-mode has already been set to t -;; when this file is loaded. -(when delete-selection-mode - (delete-selection-mode t)) (defun delete-active-region (&optional killp) (if killp |