aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1996-10-12 23:54:33 +0000
committerRichard M. Stallman1996-10-12 23:54:33 +0000
commite462e42fc2fdd00c0ac2d4afeed76270bfe41c42 (patch)
treeb36d551270d5e92bfbef4ea0c2b3539aa929614d
parent1814e5a971a4e66e7294f2bbd1d43f3a8229429c (diff)
downloademacs-e462e42fc2fdd00c0ac2d4afeed76270bfe41c42.tar.gz
emacs-e462e42fc2fdd00c0ac2d4afeed76270bfe41c42.zip
Use defalias not define-function.
-rw-r--r--lisp/simple.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 42d5a79abf2..50b4eb1fd92 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -700,7 +700,7 @@ Get previous element of history which is a completion of minibuffer contents."
700 (forward-line (1- arg))))) 700 (forward-line (1- arg)))))
701 701
702;Put this on C-x u, so we can force that rather than C-_ into startup msg 702;Put this on C-x u, so we can force that rather than C-_ into startup msg
703(define-function 'advertised-undo 'undo) 703(defalias 'advertised-undo 'undo)
704 704
705(defun undo (&optional arg) 705(defun undo (&optional arg)
706 "Undo some previous changes. 706 "Undo some previous changes.
@@ -1601,7 +1601,7 @@ Does not set point. Does nothing if mark ring is empty."
1601 (if (null (mark t)) (ding)) 1601 (if (null (mark t)) (ding))
1602 (setq mark-ring (cdr mark-ring))))) 1602 (setq mark-ring (cdr mark-ring)))))
1603 1603
1604(define-function 'exchange-dot-and-mark 'exchange-point-and-mark) 1604(defalias 'exchange-dot-and-mark 'exchange-point-and-mark)
1605(defun exchange-point-and-mark () 1605(defun exchange-point-and-mark ()
1606 "Put the mark where point is now, and point where the mark is now. 1606 "Put the mark where point is now, and point where the mark is now.
1607This command works even when the mark is not active, 1607This command works even when the mark is not active,