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

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

[nongnu] elpa/gnuplot e47e77e 155/184: Merge pull request #49 from conao


From: ELPA Syncer
Subject: [nongnu] elpa/gnuplot e47e77e 155/184: Merge pull request #49 from conao3/fix-completion
Date: Sun, 29 Aug 2021 11:03:35 -0400 (EDT)

branch: elpa/gnuplot
commit e47e77ec5d2936f3bac622253173f01c8fb49dfb
Merge: 3f0e094 9894505
Author: Naoya Yamashita <conao3@gmail.com>
Commit: GitHub <noreply@github.com>

    Merge pull request #49 from conao3/fix-completion
    
    Ignore backward-sexp error when get completion
---
 gnuplot.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnuplot.el b/gnuplot.el
index ba943c5..b6fe49e 100644
--- a/gnuplot.el
+++ b/gnuplot.el
@@ -2990,7 +2990,7 @@ positions and COMPLETIONS is a list."
   (let* ((end (point))
          (beg (condition-case _err
                   (save-excursion (backward-sexp 1) (point))
-                (point)))
+                (error (point))))
          (patt (buffer-substring beg end))
          (pattern (if (string-match "\\([^ \t]*\\)\\s-+$" patt)
                       (match-string 1 patt) patt))



reply via email to

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