changeset 18439:825069bf1e74

(buffer): Don't use beginning-of-buffer, end-of-buffer.
author Richard M. Stallman <rms@gnu.org>
date Wed, 25 Jun 1997 03:03:57 +0000
parents 947c1b6ea8de
children a94d8b31ae3d
files lisp/thingatpt.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/thingatpt.el	Tue Jun 24 22:44:30 1997 +0000
+++ b/lisp/thingatpt.el	Wed Jun 25 03:03:57 1997 +0000
@@ -225,8 +225,8 @@
 
 ;;  Buffer 
 
-(put 'buffer 'end-op 'end-of-buffer)
-(put 'buffer 'beginning-op 'beginning-of-buffer)
+(put 'buffer 'end-op '(lambda () (goto-char (point-max))))
+(put 'buffer 'beginning-op '(lambda () (goto-char (point-min))))
 
 ;;  Symbols