[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Strange behavior of (beginning-of-defun 0)
From: |
Marcin Borkowski |
Subject: |
Strange behavior of (beginning-of-defun 0) |
Date: |
Wed, 08 Feb 2017 06:29:01 +0100 |
User-agent: |
mu4e 0.9.19; emacs 26.0.50.3 |
Hi all,
put this in an Elisp buffer:
--8<---------------cut here---------------start------------->8---
(defun a ()
nil)
-!-(defun b ()
nil)
--8<---------------cut here---------------end--------------->8---
put the point where the -!- is (of course, "-!-" is only a marker and
should not be in the buffer;-)) and say M-: (beginning-of-defun 0) (or
C-u 0 C-M-a). The point goes up one line.
Is that intended? Is the behavior of (beginning-of-defun 0) defined at
all?
Best,
--
Marcin Borkowski
- Strange behavior of (beginning-of-defun 0),
Marcin Borkowski <=