[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/newcomment.el
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/newcomment.el |
Date: |
Sun, 20 Nov 2005 18:25:48 -0500 |
Index: emacs/lisp/newcomment.el
diff -c emacs/lisp/newcomment.el:1.89 emacs/lisp/newcomment.el:1.90
*** emacs/lisp/newcomment.el:1.89 Sun Nov 20 18:06:05 2005
--- emacs/lisp/newcomment.el Sun Nov 20 23:25:46 2005
***************
*** 480,487 ****
(progn (backward-char) (skip-syntax-backward " "))
(cond
((save-restriction
! (beginning-of-line)
! (narrow-to-region (point) end)
(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
--- 480,487 ----
(progn (backward-char) (skip-syntax-backward " "))
(cond
((save-restriction
! (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