~ubuntu-branches/ubuntu/raring/ess/raring-proposed

« back to all changes in this revision

Viewing changes to lisp/noweb-font-lock-mode.el

  • Committer: Package Import Robot
  • Author(s): Dirk Eddelbuettel
  • Date: 2012-06-07 11:52:04 UTC
  • mfrom: (1.2.26)
  • Revision ID: package-import@ubuntu.com-20120607115204-6a8d8gf1tznxow7h
Tags: 12.04-4-1
New upstream patch version released today

Show diffs side-by-side

added added

removed removed

Lines of Context:
241
241
  (save-excursion
242
242
    (font-lock-set-defaults)
243
243
    (setq old-beginning-of-syntax font-lock-beginning-of-syntax-function)
244
 
    (if (boundp 'syntax-begin-function)
245
 
        (setq syntax-begin-function 'noweb-start-of-syntax)
246
 
        ;; obsolete since Emacs 23.3
247
 
        (setq font-lock-beginning-of-syntax-function 'noweb-start-of-syntax))
 
244
    (setq font-lock-beginning-of-syntax-function 'noweb-start-of-syntax)
248
245
    (setq font-lock-keywords
249
246
          ;;         (append font-lock-keywords
250
247
          ;;                 '(("\\(\\[\\[\\)\\([^]]*\\]*\\)\\(\\]\\]\\|\\$\\)"