[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auto-header 408aab1dec 06/26: Ignore symbols in strings
From: |
ELPA Syncer |
Subject: |
[elpa] externals/auto-header 408aab1dec 06/26: Ignore symbols in strings |
Date: |
Sun, 26 Mar 2023 07:57:34 -0400 (EDT) |
branch: externals/auto-header
commit 408aab1dec2593c27d361f6dd0d81291bd8e25aa
Author: Philip Kaludercic <philip.kaludercic@fau.de>
Commit: Philip Kaludercic <philip.kaludercic@fau.de>
Ignore symbols in strings
---
auto-header.el | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/auto-header.el b/auto-header.el
index 3ca3f0a56d..b338b028a2 100644
--- a/auto-header.el
+++ b/auto-header.el
@@ -3,7 +3,7 @@
;; Copyright (C) 2022 Philip Kaludercic
;; Author: Philip Kaludercic <philip.kaludercic@fau.de>
-;; Version: $Id: auto-header.el,v 1.4 2022/04/30 07:53:03 oj14ozun Exp
oj14ozun $
+;; Version: $Id: auto-header.el,v 1.5 2022/04/30 08:05:31 oj14ozun Exp
oj14ozun $
;; Package-Version: 1.0
;; Keywords: c
@@ -138,8 +138,9 @@ NAME."
symbol-end
(* space) "(")
nil t)
- (unless (member (match-string-no-properties 1)
- auto-header-c-keywords)
+ (unless (or (member (match-string-no-properties 1)
+ auto-header-c-keywords)
+ (nth 4 (syntax-ppss)))
(push (match-string-no-properties 1) headers)))
(auto-header-insert-headers
(apply #'append (mapcar #'auto-header-find-headers
- [elpa] branch externals/auto-header created (now 2681884766), ELPA Syncer, 2023/03/26
- [elpa] externals/auto-header 408aab1dec 06/26: Ignore symbols in strings,
ELPA Syncer <=
- [elpa] externals/auto-header 0e34d101b9 11/26: Add URL header, ELPA Syncer, 2023/03/26
- [elpa] externals/auto-header ac0f359102 01/26: Initial revision, ELPA Syncer, 2023/03/26
- [elpa] externals/auto-header 44151ef2ce 04/26: Add autoload cookies where useful, ELPA Syncer, 2023/03/26
- [elpa] externals/auto-header 84d6072729 13/26: Use a $Revision$ string for version, ELPA Syncer, 2023/03/26
- [elpa] externals/auto-header 5195004da5 15/26: Skip a potential comment at the beginning of a file, ELPA Syncer, 2023/03/26
- [elpa] externals/auto-header a77ba1fed7 16/26: Readd auto-header-insert, ELPA Syncer, 2023/03/26
- [elpa] externals/auto-header c9eda61104 20/26: Update headers after RCS export, ELPA Syncer, 2023/03/26
- [elpa] externals/auto-header f29a1a45fe 02/26: Add auto-header-mode as a minor mode, ELPA Syncer, 2023/03/26
- [elpa] externals/auto-header 437ba6a407 07/26: Run untabify, ELPA Syncer, 2023/03/26
- [elpa] externals/auto-header 49634257f4 03/26: Document auto-header-mode, ELPA Syncer, 2023/03/26