aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond1993-04-23 07:31:14 +0000
committerEric S. Raymond1993-04-23 07:31:14 +0000
commitb457cc3bab99d27db4e09ce015592a3b5db200e3 (patch)
tree495384f9738f19cc9a217b81dca4e405a8af2cc6
parent31e1d9206b69676f624dd8ef2958afbbe6e32fd5 (diff)
downloademacs-b457cc3bab99d27db4e09ce015592a3b5db200e3.tar.gz
emacs-b457cc3bab99d27db4e09ce015592a3b5db200e3.zip
Replaced all fsets with defaliases.
-rw-r--r--lisp/isearch.el21
1 files changed, 12 insertions, 9 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 7366d926c24..389e21aa077 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -4,7 +4,7 @@
4 4
5;; Author: Daniel LaLiberte <liberte@cs.uiuc.edu> 5;; Author: Daniel LaLiberte <liberte@cs.uiuc.edu>
6 6
7;; |$Date: 1993/03/30 19:42:10 $|$Revision: 1.29 $ 7;; |$Date: 1993/04/14 19:40:53 $|$Revision: 1.30 $
8 8
9;; This file is not yet part of GNU Emacs, but it is based almost 9;; This file is not yet part of GNU Emacs, but it is based almost
10;; entirely on isearch.el which is part of GNU Emacs. 10;; entirely on isearch.el which is part of GNU Emacs.
@@ -38,7 +38,7 @@
38;; isearch-forward, etc, will then use isearch-mode instead of 38;; isearch-forward, etc, will then use isearch-mode instead of
39;; isearch. 39;; isearch.
40 40
41;; (fset 'isearch 'isearch-mode) 41;; (defalias 'isearch 'isearch-mode)
42;; (autoload 'isearch-mode "isearch-mode") 42;; (autoload 'isearch-mode "isearch-mode")
43 43
44;; For programmed use of isearch-mode, e.g. calling (isearch-forward), 44;; For programmed use of isearch-mode, e.g. calling (isearch-forward),
@@ -51,7 +51,7 @@
51;; of isearch-forward, etc. found in this file instead of those in 51;; of isearch-forward, etc. found in this file instead of those in
52;; loaddefs.el. The simplest way to ensure this is to just load 52;; loaddefs.el. The simplest way to ensure this is to just load
53;; isearch-mode explicitly in your .emacs instead of using the above 53;; isearch-mode explicitly in your .emacs instead of using the above
54;; fset and autoload. 54;; defalias and autoload.
55 55
56;; (load "isearch-mode") 56;; (load "isearch-mode")
57 57
@@ -92,8 +92,11 @@
92;;;==================================================================== 92;;;====================================================================
93;;; Change History 93;;; Change History
94 94
95;;; $Header: /gd/gnu/emacs/19.0/lisp/RCS/isearch.el,v 1.29 1993/03/30 19:42:10 rms Exp rms $ 95;;; $Header: /gd/gnu/emacs/19.0/lisp/RCS/isearch.el,v 1.30 1993/04/14 19:40:53 rms Exp eric $
96;;; $Log: isearch.el,v $ 96;;; $Log: isearch.el,v $
97; Revision 1.30 1993/04/14 19:40:53 rms
98; Doc fixes.
99;
97; Revision 1.29 1993/03/30 19:42:10 rms 100; Revision 1.29 1993/03/30 19:42:10 rms
98; (isearch-done): Customize the message about mark. 101; (isearch-done): Customize the message about mark.
99; 102;
@@ -472,7 +475,7 @@ Default value, nil, means edit the string instead.")
472;;;=============================================================== 475;;;===============================================================
473;;; Entry points to isearch-mode. 476;;; Entry points to isearch-mode.
474;;; These four functions should replace those in loaddefs.el 477;;; These four functions should replace those in loaddefs.el
475;;; An alternative is to fset isearch-forward etc to isearch-mode, 478;;; An alternative is to defalias isearch-forward etc to isearch-mode,
476;;; and look at this-command to set the options accordingly. 479;;; and look at this-command to set the options accordingly.
477 480
478(defun isearch-forward (&optional regexp-p no-recursive-edit) 481(defun isearch-forward (&optional regexp-p no-recursive-edit)
@@ -1071,7 +1074,7 @@ If no previous match was done, just beep."
1071 (isearch-process-search-char (isearch-last-command-char))) 1074 (isearch-process-search-char (isearch-last-command-char)))
1072 1075
1073 1076
1074(fset 'isearch-other-control-char 'isearch-other-meta-char) 1077(defalias 'isearch-other-control-char 'isearch-other-meta-char)
1075 1078
1076(defun isearch-other-meta-char () 1079(defun isearch-other-meta-char ()
1077 "Exit the search normally and reread this key sequence. 1080 "Exit the search normally and reread this key sequence.
@@ -1433,14 +1436,14 @@ If there is no completion possible, say so and continue searching."
1433 (set-extent-face isearch-extent 'default) 1436 (set-extent-face isearch-extent 'default)
1434 (isearch-dehighlight t))))) 1437 (isearch-dehighlight t)))))
1435 1438
1436(fset 'isearch-highlight (symbol-function 'isearch-lemacs-highlight)) 1439(defalias 'isearch-highlight (symbol-function 'isearch-lemacs-highlight))
1437(fset 'isearch-dehighlight (symbol-function 'isearch-lemacs-dehighlight)) 1440(defalias 'isearch-dehighlight (symbol-function 'isearch-lemacs-dehighlight))
1438) 1441)
1439 1442
1440;;;=========================================================== 1443;;;===========================================================
1441;;; General utilities 1444;;; General utilities
1442 1445
1443;; (fset 'isearch-member-equal (symbol-function 'member)) ; for emacs 19 1446;; (defalias 'isearch-member-equal (symbol-function 'member)) ; for emacs 19
1444 1447
1445(defun isearch-member-equal (item list) 1448(defun isearch-member-equal (item list)
1446 "Return non-nil if ITEM is `equal' to some item in LIST. 1449 "Return non-nil if ITEM is `equal' to some item in LIST.