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

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

[elpa] master 18a77b9 121/173: Improve the example in the Commentary


From: Dmitry Gutov
Subject: [elpa] master 18a77b9 121/173: Improve the example in the Commentary
Date: Thu, 23 Jun 2016 00:28:44 +0000 (UTC)

branch: master
commit 18a77b93715137ab578dff3b1302cf65dc75994b
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    Improve the example in the Commentary
---
 company.el |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/company.el b/company.el
index 9c44f4b..f71656f 100644
--- a/company.el
+++ b/company.el
@@ -45,8 +45,7 @@
 ;;
 ;; (defun company-my-backend (command &optional arg &rest ignored)
 ;;   (pcase command
-;;     (`prefix (when (looking-back "foo\\>")
-;;               (match-string 0)))
+;;     (`prefix (company-grab-symbol))
 ;;     (`candidates (list "foobar" "foobaz" "foobarbaz"))
 ;;     (`meta (format "This value is named %s" arg))))
 ;;



reply via email to

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