From e9c71056c15095a268339631df52babcab2cac1b Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 25 Jun 1997 03:03:57 +0000 Subject: [PATCH] (buffer): Don't use beginning-of-buffer, end-of-buffer. --- lisp/thingatpt.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/thingatpt.el b/lisp/thingatpt.el index c163b05a7f4..436f2ff3589 100644 --- a/lisp/thingatpt.el +++ b/lisp/thingatpt.el @@ -225,8 +225,8 @@ a symbol as a valid THING." ;; 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 -- 2.39.5