diff options
Diffstat (limited to 'lisp/ess.el')
| -rw-r--r-- | lisp/ess.el | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/ess.el b/lisp/ess.el index 0664484..542c080 100644 --- a/lisp/ess.el +++ b/lisp/ess.el @@ -1,6 +1,6 @@ ;;; ess.el --- Emacs Speaks Statistics -*- lexical-binding: t; -*- -;; Copyright (C) 1997-2020 Free Software Foundation, Inc. +;; Copyright (C) 1997-2022 Free Software Foundation, Inc. ;; Author: David Smith <dsmith@stats.adelaide.edu.au> ;; A.J. Rossini <blindglobe@gmail.com> @@ -101,7 +101,8 @@ Is set by \\[ess-version-string].") (git-rev (when (file-exists-p git-fname) (with-current-buffer (find-file-noselect git-fname) (goto-char (point-min)) - (concat "git: "(buffer-substring 1 (point-at-eol)))))) + (concat "git: "(buffer-substring + (point-min) (line-end-position)))))) (elpa-fname (concat ess-dir "ess-pkg.el")) (elpa-rev (when (file-exists-p elpa-fname) ;; Get it from ELPA dir name, (probably won't work if installed manually) @@ -188,7 +189,8 @@ etc.") (require 'timer) (defvar ess--idle-timer - (run-with-idle-timer ess-idle-timer-interval 'repeat 'ess--idle-timer-function) + (run-with-idle-timer ess-idle-timer-interval 'repeat + #'ess--idle-timer-function) "Timer used to run `ess-idle-timer-functions'.") |
