diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-06-25 03:03:57 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-06-25 03:03:57 +0000 |
commit | e9c71056c15095a268339631df52babcab2cac1b (patch) | |
tree | 38418c89760af372890859db676065b0d8910d02 /lisp/thingatpt.el | |
parent | 0b296daca5e507ae82d5360d39fe716b4cd5465a (diff) | |
download | emacs-e9c71056c15095a268339631df52babcab2cac1b.tar.gz |
(buffer): Don't use beginning-of-buffer, end-of-buffer.
Diffstat (limited to 'lisp/thingatpt.el')
-rw-r--r-- | lisp/thingatpt.el | 4 |
1 files 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 |