Skip to content

twelf-mode: s/string-to-int/string-to-number/#87

Merged
robsimmons merged 1 commit intostandardml:mainfrom
cdrichards:cdrichards/twelf-mode
Mar 7, 2026
Merged

twelf-mode: s/string-to-int/string-to-number/#87
robsimmons merged 1 commit intostandardml:mainfrom
cdrichards:cdrichards/twelf-mode

Conversation

@cdrichards
Copy link
Contributor

Makes twelf-next-error and friends work on Emacs >= 26.1, which removed string-to-int.

The string-to-int function was an obsolete alias for string-to-number, so this change is backwards-compatible.

Tested manually with Emacs 30.2:

  • Before: twelf-next-error fails with symbol’s function definition is void: string-to-int
  • After: twelf-next-error goes to the next error.

@robsimmons
Copy link
Member

Thanks Christina!

@robsimmons robsimmons merged commit b72cc28 into standardml:main Mar 7, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants