Skip to content

Commit

Permalink
Merge pull request #398 from lbraglia/master
Browse files Browse the repository at this point in the history
fix for startup issues. closes #387
  • Loading branch information
vspinu committed Feb 6, 2017
2 parents b67756e + f530341 commit 2ca23d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lisp/ess-r-d.el
Original file line number Diff line number Diff line change
Expand Up @@ -481,8 +481,8 @@ Executed in process buffer."
;; carefully set "pager" option "when needed":
(ess-eval-linewise
(format
"if(identical(getOption('pager'), file.path(R.home('bin'), 'pager'))) # rather take the ESS one
options(pager='%s')\n" inferior-ess-pager)
"if(identical(getOption('pager'), file.path(R.home('bin'), 'pager'))) options(pager='%s') # rather take the ESS one \n"
inferior-ess-pager)
;; Even more careful / sophisticated :
;; "if(identical(getOption('pager'), file.path(R.home('bin'), 'pager')) &&
;; grepl('\\<more\\>', .P <- Sys.getenv('PAGER'))) { # rather take the ESS one
Expand Down

0 comments on commit 2ca23d8

Please sign in to comment.