emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] master 479c676 021/173: Don't use `forward-symbol', apparently it


From: Dmitry Gutov
Subject: [elpa] master 479c676 021/173: Don't use `forward-symbol', apparently it's not in 24.3
Date: Thu, 23 Jun 2016 00:28:35 +0000 (UTC)

branch: master
commit 479c676f31ceb2c72787665ac20e0a3630ce1378
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    Don't use `forward-symbol', apparently it's not in 24.3
---
 company-clang.el |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/company-clang.el b/company-clang.el
index 0c4252e..79bd5bd 100644
--- a/company-clang.el
+++ b/company-clang.el
@@ -151,7 +151,7 @@ or automatically through a custom 
`company-clang-prefix-guesser'."
         (insert ann)
         (search-backward ")")
         (let ((pt (1+ (point))))
-          (forward-symbol 1)
+          (re-search-forward ".\\_>" nil t)
           (delete-region pt (point)))
         (buffer-string)))))
 



reply via email to

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