aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1996-01-04 23:34:16 +0000
committerKarl Heuer1996-01-04 23:34:16 +0000
commit896b732936e48e2438e9b5f49082af91ddbed554 (patch)
tree1cfc6656616dcec97e783708059f04fe391175dd
parentceb0ea8ba63637edcb18735c31770c2c103332db (diff)
downloademacs-896b732936e48e2438e9b5f49082af91ddbed554.tar.gz
emacs-896b732936e48e2438e9b5f49082af91ddbed554.zip
(edt-find-forward, edt-find-backward, edt-find,
edt-find-next-forward, edt-find-next-backward, edt-find-next): Doc fix.
-rw-r--r--lisp/emulation/edt.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/emulation/edt.el b/lisp/emulation/edt.el
index 19ed0949bec..e4c6ba9ed38 100644
--- a/lisp/emulation/edt.el
+++ b/lisp/emulation/edt.el
@@ -399,7 +399,7 @@ Accepts a positive prefix argument for the number of BOL marks to move."
399;;; 399;;;
400 400
401(defun edt-find-forward (&optional find) 401(defun edt-find-forward (&optional find)
402 "Find first occurance of a string in forward direction and save it." 402 "Find first occurrence of a string in forward direction and save it."
403 (interactive) 403 (interactive)
404 (if (not find) 404 (if (not find)
405 (set 'search-last-string (read-string "Search forward: "))) 405 (set 'search-last-string (read-string "Search forward: ")))
@@ -407,14 +407,14 @@ Accepts a positive prefix argument for the number of BOL marks to move."
407 (search-backward search-last-string))) 407 (search-backward search-last-string)))
408 408
409(defun edt-find-backward (&optional find) 409(defun edt-find-backward (&optional find)
410 "Find first occurance of a string in the backward direction and save it." 410 "Find first occurrence of a string in the backward direction and save it."
411 (interactive) 411 (interactive)
412 (if (not find) 412 (if (not find)
413 (set 'search-last-string (read-string "Search backward: "))) 413 (set 'search-last-string (read-string "Search backward: ")))
414 (search-backward search-last-string)) 414 (search-backward search-last-string))
415 415
416(defun edt-find () 416(defun edt-find ()
417 "Find first occurance of string in current direction and save it." 417 "Find first occurrence of string in current direction and save it."
418 (interactive) 418 (interactive)
419 (set 'search-last-string (read-string "Search: ")) 419 (set 'search-last-string (read-string "Search: "))
420 (if (equal edt-direction-string edt-forward-string) 420 (if (equal edt-direction-string edt-forward-string)
@@ -427,7 +427,7 @@ Accepts a positive prefix argument for the number of BOL marks to move."
427;;; 427;;;
428 428
429(defun edt-find-next-forward () 429(defun edt-find-next-forward ()
430 "Find next occurance of a string in forward direction." 430 "Find next occurrence of a string in forward direction."
431 (interactive) 431 (interactive)
432 (forward-char 1) 432 (forward-char 1)
433 (if (search-forward search-last-string nil t) 433 (if (search-forward search-last-string nil t)
@@ -437,14 +437,14 @@ Accepts a positive prefix argument for the number of BOL marks to move."
437 (error "Search failed: \"%s\"." search-last-string)))) 437 (error "Search failed: \"%s\"." search-last-string))))
438 438
439(defun edt-find-next-backward () 439(defun edt-find-next-backward ()
440 "Find next occurance of a string in backward direction." 440 "Find next occurrence of a string in backward direction."
441 (interactive) 441 (interactive)
442 (if (eq (search-backward search-last-string nil t) nil) 442 (if (eq (search-backward search-last-string nil t) nil)
443 (progn 443 (progn
444 (error "Search failed: \"%s\"." search-last-string)))) 444 (error "Search failed: \"%s\"." search-last-string))))
445 445
446(defun edt-find-next () 446(defun edt-find-next ()
447 "Find next occurance of a string in current direction." 447 "Find next occurrence of a string in current direction."
448 (interactive) 448 (interactive)
449 (if (equal edt-direction-string edt-forward-string) 449 (if (equal edt-direction-string edt-forward-string)
450 (edt-find-next-forward) 450 (edt-find-next-forward)