Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
Avoid
From:
{
^^element1,
^^element2
}
To:
{
^element1,
^element2
}
|
|
* upstream/pr/1474:
Update the version to 2.8.0
Remove the obsolete erlang-buffer-substring function
Add a :package-version property to the new defcustom erlang-shell-prompt-read-only
Bump the version number
Make the erlang-shell prompt read-only by default
Remove a mention of Emacs 21
Drop some redundant backwards compatibility code
Enable lexical binding for erlang-mode
Remove some ancient compatibility aliases
|
|
|
|
|
|
OTP-14520
|
|
The number of arguments to visit-tags-table-buffer have
increased in Emacs 26.
|
|
This concerns tag finding commands in Emacs 24. If the word at point
is preceded by a hash suggest as default a jump to a record
definition. If it is a question mark suggest a macro. Otherwise
assume it is a function. If it is not a qualified call assume it is a
local function.
|
|
OTP-14520
|
|
The default target is changed to be just the name at point when
xref-find-references is invoked. Previously the default was the same
as for xref-find-definitions. This included arity and other things
that do not make sense for xref-find-references.
|
|
|
|
|
|
|
|
erlang-shell-prompt-read-only
|
|
|
|
Allow for this behaviour to be customized via a defcustom.
|
|
|
|
|
|
|
|
|
|
Those were added 8 years ago and it's about time they were removed.
Now that we depend on a newer Emacs release, we can also drop the
function `erlang-obsolete`.
|
|
* dgud/emacs/update-bifs:
Update available bifs for 20
|
|
|
|
Fix loading of byte-compiled erlang.elc on Emacs 25
and the erlang shell.
|
|
Drop some legacy Emacs compatibility code
|
|
|
|
Follow the same pattern as pid_to_list
|
|
|
|
All of those are present on the target Emacs 24.1.
|
|
|
|
This commit removes some compatibility for old GNU Emacs releases
and XEmacs. erlang-mode didn't really work on them for a while now,
so this is just a cleanup, nothing actually changes.
It's part of the ongoing effort to clean up and modernize the codebase
of erlang-mode.
|
|
Only the xref front-end introduced in Emacs 25 consider arity. It is
not implemented for older emacsen.
Look for manual page files in lib/erlang/man in erlang-root-dir. Also
do not give up in erlang-man-module when not finding the manual page
file. Call manual-entry as a fallback.
Do not bother to populate menu-bar with man pages when menu-bar-mode
is nil.
Add erlang extensions also to dired-omit-extensions.
Remove some support for Emacs 18 and 19.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* maint:
Add an option erlang-icr-indent
|
|
The option makes it possible to customize the indention of
if/case/recieve patterns.
Before the change, the indentation of 'if' patterns is 3 steps and
'case' patterns is 4 steps. It cannot be changed alone. Some people
prefer other styles, for example, zero indentation.
case a of
true ->
do_something();
false ->
do_something_else()
end.
This patch just adds an option `erlang-icr-indent'. Its default value is
`nil' which means keeping the legacy behavior. When non-nil, the
pattens of if/case/receive are indented according to
`erlang-icr-indent'. "(setq erlang-icr-indent 0)" will keep
if/case/receive at the same column of the sub-clauses.
Change-Id: I10c32e42dbf69cbe187f55223b9aa7824853e493
|
|
* maint:
New commands to ease looking up OTP documentation
|
|
- erldoc-browse: open the manual entry for an MFA in the browser
- erldoc-apropos: list MFAs containing a substring
- erldoc-browse-topic: open user guides in the browser
|
|
* maint:
Fix whitespace setting in test files
Avoid some error reports when stopping mnesia
wx: Improve error handling
Fix all whitespace-related issues in erlang.el
mnesia: Fix double blocked tables which could cause a crash
wx: Add wxWindow:getContentScaleFactor
|
|
Having a consistent whitespace usage in the source makes it easier for
future contributors to send patches. This commit does the following:
* Replace tabs with spaces
* Kill trailing whitespace
* Disable indent-tabs-mode for erlang.el to prevent tabs from creeping
in
|