Skip to content

Commit e3fbb1f

Browse files
committed
fix missing eldoc function
1 parent 9c96406 commit e3fbb1f

12 files changed

+19
-12
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Changelog
2+
## [0.1.1]
3+
4+
### Bug fixes
5+
- Csound'd eldoc function was missing from the major-mode function.

csound-eldoc.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
;; Copyright (C) 2017 Hlöðver Sigurðsson
33

44
;; Author: Hlöðver Sigurðsson <hlolli@gmail.com>
5-
;; Version: 0.1
5+
;; Version: 0.1.1
66
;; Package-Requires: ((emacs "25") (shut-up "0.3.2") (multi "2.0.1"))
77

88
;; This program is free software; you can redistribute it and/or modify
@@ -65,7 +65,7 @@
6565
(let ((result nil)
6666
(opdoce nil)
6767
(last-open-paren (save-excursion (search-backward "(" (line-beginning-position) t 1)))
68-
(last-close-paren (save-excursion (search-backward ")" (line-beginning-position) t 1))))
68+
(last-close-paren (save-excursion (search-backward ")" (line-beginning-position) t 1))))
6969
;; Functional syntax lookup
7070
(when (and last-open-paren
7171
(> last-open-paren

csound-font-lock.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
;; Copyright (C) 2017 Hlöðver Sigurðsson
33

44
;; Author: Hlöðver Sigurðsson <hlolli@gmail.com>
5-
;; Version: 0.1
5+
;; Version: 0.1.1
66
;; Package-Requires: ((emacs "25") (shut-up "0.3.2") (multi "2.0.1"))
77

88
;; This program is free software; you can redistribute it and/or modify

csound-indentation.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
;; Copyright (C) 2017 Hlöðver Sigurðsson
44

55
;; Author: Hlöðver Sigurðsson <hlolli@gmail.com>
6-
;; Version: 0.1
6+
;; Version: 0.1.1
77
;; Package-Requires: ((emacs "25") (shut-up "0.3.2") (multi "2.0.1"))
88

99
;; This program is free software; you can redistribute it and/or modify

csound-mode.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
;; Copyright (C) 2017 Hlöðver Sigurðsson
33

44
;; Author: Hlöðver Sigurðsson <hlolli@gmail.com>
5-
;; Version: 0.1
5+
;; Version: 0.1.1
66
;; Package-Requires: ((emacs "25") (shut-up "0.3.2") (multi "2.0.1"))
77

88
;; This program is free software; you can redistribute it and/or modify
@@ -179,7 +179,7 @@
179179
prog-mode "Csound Mode"
180180
"A major mode for interacting and coding Csound"
181181
:syntax-table csound-mode-syntax-table
182-
182+
(setq-local eldoc-documentation-function 'csound-eldoc-function)
183183
(setq-local comment-start ";; ")
184184
(setq-local comment-end "")
185185
(setq-local indent-line-function 'csound-indentation-line)

csound-opcodes.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
;; Copyright (C) 2017 Hlöðver Sigurðsson
33

44
;; Author: Hlöðver Sigurðsson <hlolli@gmail.com>
5-
;; Version: 0.1
5+
;; Version: 0.1.1
66
;; Package-Requires: ((emacs "25") (shut-up "0.3.2") (multi "2.0.1"))
77

88
;; This program is free software; you can redistribute it and/or modify

csound-repl-interaction.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
;; Copyright (C) 2017 Hlöðver Sigurðsson
44

55
;; Author: Hlöðver Sigurðsson <hlolli@gmail.com>
6-
;; Version: 0.1
6+
;; Version: 0.1.1
77
;; Package-Requires: ((emacs "25") (shut-up "0.3.2") (multi "2.0.1"))
88

99
;; This program is free software; you can redistribute it and/or modify

csound-repl.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
;; Copyright (C) 2017 Hlöðver Sigurðsson
44

55
;; Author: Hlöðver Sigurðsson <hlolli@gmail.com>
6-
;; Version: 0.1
6+
;; Version: 0.1.1
77
;; Package-Requires: ((emacs "25") (shut-up "0.3.2") (multi "2.0.1"))
88

99

csound-score.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
;; Copyright (C) 2017 Hlöðver Sigurðsson
44

55
;; Author: Hlöðver Sigurðsson <hlolli@gmail.com>
6-
;; Version: 0.1
6+
;; Version: 0.1.1
77
;; Package-Requires: ((emacs "25") (shut-up "0.3.2") (multi "2.0.1"))
88

99
;; This program is free software; you can redistribute it and/or modify

csound-skeleton.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
;; Copyright (C) 2017 Hlöðver Sigurðsson
44

55
;; Author: Hlöðver Sigurðsson <hlolli@gmail.com>
6-
;; Version: 0.1
6+
;; Version: 0.1.1
77
;; Package-Requires: ((emacs "25") (shut-up "0.3.2") (multi "2.0.1"))
88

99
;; This program is free software; you can redistribute it and/or modify

0 commit comments

Comments
 (0)