diff options
| -rw-r--r-- | lisp/pdf-sync.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/pdf-sync.el b/lisp/pdf-sync.el index a51c314..1825211 100644 --- a/lisp/pdf-sync.el +++ b/lisp/pdf-sync.el @@ -507,6 +507,8 @@ point to the correct position." (skip-chars-forward "^ ") (skip-chars-forward " ")) (goto-char center) + (when (eq ?\s (char-after)) + (skip-chars-backward " ")) (setq chindex (- (skip-chars-backward "^ "))) (setq words (split-string (buffer-string))) (when translation |
