1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-30 19:53:09 +00:00

(comment-enter-backward): Fix last fix.

This commit is contained in:
Stefan Monnier 2005-11-20 23:25:46 +00:00
parent 67d23e0166
commit 1cb4008915
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,7 @@
2005-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
* newcomment.el (comment-enter-backward): Fix last fix.
* simple.el (blink-matching-open):
* paren.el (show-paren-function): Allow new paren-class info.

View File

@ -480,8 +480,8 @@ Point is assumed to be just at the end of a comment."
(progn (backward-char) (skip-syntax-backward " "))
(cond
((save-restriction
(beginning-of-line)
(narrow-to-region (point) end)
(narrow-to-region (line-beginning-position) (point))
(goto-char (point-min))
(re-search-forward (concat comment-end-skip "\\'") nil t))
(goto-char (match-beginning 0)))
;; comment-end-skip not found. Maybe we're at EOB which implicitly