emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] scratch/gnus-cloud 82fe6fa 17/28: Merge branch 'master' of


From: Teodor Zlatanov
Subject: [Emacs-diffs] scratch/gnus-cloud 82fe6fa 17/28: Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Date: Mon, 18 Jul 2016 14:04:14 +0000 (UTC)

branch: scratch/gnus-cloud
commit 82fe6fa7cb4edd6832cc917eb052b8721f7ea2e2
Merge: fae4411 d0dc74a
Author: Ted Zlatanov <address@hidden>
Commit: Ted Zlatanov <address@hidden>

    Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
---
 lisp/progmodes/cc-engine.el |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el
index 8648bec..51d278f 100644
--- a/lisp/progmodes/cc-engine.el
+++ b/lisp/progmodes/cc-engine.el
@@ -2326,7 +2326,7 @@ comment at the start of cc-engine.el for more info."
                    ((nth 7 s) 'c++)
                    (t 'c)))
          (list s ty (nth 8 s)))
-        
+
         ((and (not not-in-delimiter)   ; inside a comment starter
               (not (bobp))
               (progn (backward-char)
@@ -2335,12 +2335,12 @@ comment at the start of cc-engine.el for more info."
                           (looking-at c-comment-start-regexp))))
          (setq ty (if (looking-at c-block-comment-start-regexp) 'c 'c++))
          (list s ty (point)))
-        
+
         (t (list s)))))))
 
 (defun c-state-full-pp-to-literal (here &optional not-in-delimiter)
   ;; This function will supersede c-state-pp-to-literal.
-  ;; 
+  ;;
   ;; Do a parse-partial-sexp from a position in the buffer before HERE which
   ;; isn't in a literal, and return information about HERE, either:
   ;; (STATE TYPE (BEG . END))   if HERE is in a literal; or
@@ -4821,8 +4821,9 @@ comment at the start of cc-engine.el for more info."
                (when (or (nth 3 s) (nth 4 s))
                  (cons (nth 8 s)
                        (progn (parse-partial-sexp (point) (point-max)
-                                                  nil 'syntax-table
-                                                  s)
+                                                  nil nil
+                                                  s
+                                                  'syntax-table)
                               (point)))))
            (let ((pp-to-lit (c-state-full-pp-to-literal pos not-in-delimiter)))
              (car (cddr pp-to-lit))))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]