diff options
Diffstat (limited to 'lisp/epg-config.el')
-rw-r--r-- | lisp/epg-config.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/epg-config.el b/lisp/epg-config.el index 28003eaf71b..6501434e030 100644 --- a/lisp/epg-config.el +++ b/lisp/epg-config.el @@ -246,9 +246,9 @@ version requirement is met." (goto-char (match-end 0)) (backward-char) (forward-sexp) - (skip-syntax-forward "-" (point-at-eol)) + (skip-syntax-forward "-" (line-end-position)) (list (cons 'program program) - (cons 'version (buffer-substring (point) (point-at-eol))))))) + (cons 'version (buffer-substring (point) (line-end-position))))))) ;;;###autoload (defun epg-configuration () |