/[emacs]/emacs/lisp/newcomment.el
ViewVC logotype

Diff of /emacs/lisp/newcomment.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.35.4.3 by monnier, Mon Nov 19 20:35:04 2001 UTC revision 1.35.4.4 by monnier, Mon Mar 4 01:17:11 2002 UTC
# Line 387  and can use regexps instead of syntax." Line 387  and can use regexps instead of syntax."
387    (if (< n 0) (error "No comment-backward")    (if (< n 0) (error "No comment-backward")
388      (if comment-use-syntax (forward-comment n)      (if comment-use-syntax (forward-comment n)
389        (while (> n 0)        (while (> n 0)
         (skip-syntax-forward " ")  
390          (setq n          (setq n
391                (if (and (looking-at comment-start-skip)                (if (or (forward-comment 1)
392                         (goto-char (match-end 0))                        (and (looking-at comment-start-skip)
393                         (re-search-forward comment-end-skip nil 'move))                             (goto-char (match-end 0))
394                               (re-search-forward comment-end-skip nil 'move)))
395                    (1- n) -1)))                    (1- n) -1)))
396        (= n 0))))        (= n 0))))
397    

Legend:
Removed from v.1.35.4.3  
changed lines
  Added in v.1.35.4.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26