Skip to content

Commit

Permalink
linum-mode fix for new emacs (#278)
Browse files Browse the repository at this point in the history
* linum-mode fix for new emacs

* upgrade tests

* use ubuntu-20.04 for github actions

* correct OTP 25.3 version
  • Loading branch information
sebastiw authored Sep 25, 2023
1 parent 4125808 commit 1271677
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ on:

jobs:
test:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
name: OTP ${{matrix.otp}}
strategy:
matrix:
otp: [20.3.8.26, 21.3.8.17, 22.3.4.9, 23.3.1, 24.0.5]
otp: [22.3.4.9, 23.3.4.5, 24.3.3, 25.3]
emacs: [27.1] # 24.5, 26.3,

steps:
Expand Down
4 changes: 3 additions & 1 deletion elisp/edts/edts-shell.el
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,9 @@ PWD and running COMMAND."
(ignore-errors
(make-local-variable 'show-paren-mode)
(show-paren-mode 1))
(linum-mode -1)
(if (version<= "26.0.50" emacs-version)
(display-line-numbers-mode -1)
(linum-mode -1))
(setq show-trailing-whitespace nil)
(set-process-query-on-exit-flag (get-buffer-process (current-buffer)) nil)
(add-hook 'kill-buffer-hook #'edts-shell--kill-buffer-hook t t)
Expand Down

0 comments on commit 1271677

Please sign in to comment.