[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#14376: 24.3; comment-search-forward in SQL-mode raises an error
From: |
Stefan Monnier |
Subject: |
bug#14376: 24.3; comment-search-forward in SQL-mode raises an error |
Date: |
Fri, 10 May 2013 16:00:13 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
>>> * M-x sql-mode RET
>>> * M-<
>>> * M-: (comment-search-forward (point-max) t) RET
>> You failed to call comment-normalize-vars before calling
>> comment-search-forward.
> Shouldn't comment-search-forward do this by themselves?
No.
> Can't see it's docu mentioning such a need.
;; Prior to calling any `comment-*' function, you should ensure that
;; `comment-normalize-vars' is first called to set up the appropriate
;; variables; except for the `comment-*' commands, which call
;; `comment-normalize-vars' automatically as a subroutine.
Stefan