Skip to content

Commit

Permalink
ess-mode: Show ess-dialect rather than ess-language in the mode-line
Browse files Browse the repository at this point in the history
  • Loading branch information
jabranham committed Apr 16, 2018
1 parent a20dfa3 commit 1cae3be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions doc/newfeat.texi
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ in the process buffer.
@item @ESS{[R]}: The startup screen has been cleaned up and displays
the startup directory with an explicit @code{setwd()}.

@item ESS now displays the language dialect in the mode-line
So, for example, R buffers will now show ESS[R] rather than ESS[S].

@end itemize


Expand Down
2 changes: 1 addition & 1 deletion lisp/ess-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ indentation style. At present, predefined style are `BSD', `GNU', `K&R', `C++',
(format "(ess-mode-1.5): alist=%s \n" alist))
(unless is-derived
(setq major-mode 'ess-mode)
(setq mode-name (concat "ESS[" ess-language "]"))) ; was ess-dialect
(setq mode-name (concat "ESS[" (or ess-dialect ess-language) "]")))
;; The following line does the next 20 or so :-).
(ess-write-to-dribble-buffer
(format "(ess-mode-1.6): editing-alist=%s \n"
Expand Down

0 comments on commit 1cae3be

Please sign in to comment.