# HG changeset patch # User Richard M. Stallman # Date 870677248 0 # Node ID 73871027b62901f9e5f6c19121e9a5fbac4f3f77 # Parent 962be4e083c2d5a2ce117aee7115fe94e91e167c (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. diff -r 962be4e083c2 -r 73871027b629 lisp/delsel.el --- a/lisp/delsel.el Mon Aug 04 06:44:24 1997 +0000 +++ b/lisp/delsel.el Mon Aug 04 06:47:28 1997 +0000 @@ -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 ;; Maintainer: FSF ;; Created: 14 Jul 92 -;; Last change 18-Feb-93, devin. ;; This file is part of GNU Emacs. @@ -63,18 +62,9 @@ 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