Compare commits
18 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
812b00b764 | ||
|
|
4595a51da2 | ||
|
|
edc3fe7f9e | ||
|
|
149e62e74b | ||
|
|
ce6f5468e7 | ||
|
|
8444c5ceb4 | ||
|
|
35079be6fe | ||
|
|
36645b6659 | ||
|
|
4f5b6963df | ||
|
|
1960e45029 | ||
|
|
6e86587150 | ||
|
|
f2ffc3b371 | ||
|
|
268ea82409 | ||
|
|
71b581e01f | ||
|
|
388f92bc02 | ||
|
|
7347e7ed3f | ||
|
|
499e411ab2 | ||
|
|
f6efaabb0d |
4 changed files with 166 additions and 0 deletions
6
.gitignore
vendored
Normal file
6
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
/emacs-dash-2.17.0.tar.gz
|
||||||
|
/emacs-dash-2.18.0.tar.gz
|
||||||
|
/emacs-dash-2.18.1.tar.gz
|
||||||
|
/emacs-dash-2.19.0.tar.gz
|
||||||
|
/emacs-dash-2.19.1.tar.gz
|
||||||
|
/emacs-dash-2.20.0.tar.gz
|
||||||
62
dash-init.el
Normal file
62
dash-init.el
Normal file
|
|
@ -0,0 +1,62 @@
|
||||||
|
(autoload 'dash-fontify-mode "dash" "\
|
||||||
|
Toggle fontification of Dash special variables.
|
||||||
|
|
||||||
|
Dash-Fontify mode is a buffer-local minor mode intended for Emacs
|
||||||
|
Lisp buffers. Enabling it causes the special variables bound in
|
||||||
|
anaphoric Dash macros to be fontified. These anaphoras include
|
||||||
|
`it', `it-index', `acc', and `other'. In older Emacs versions
|
||||||
|
which do not dynamically detect macros, Dash-Fontify mode
|
||||||
|
additionally fontifies Dash macro calls.
|
||||||
|
|
||||||
|
See also `dash-fontify-mode-lighter' and
|
||||||
|
`global-dash-fontify-mode'.
|
||||||
|
|
||||||
|
This is a minor mode. If called interactively, toggle the `Dash-Fontify
|
||||||
|
mode' mode. If the prefix argument is positive, enable the mode, and if
|
||||||
|
it is zero or negative, disable the mode.
|
||||||
|
|
||||||
|
If called from Lisp, toggle the mode if ARG is `toggle'. Enable the
|
||||||
|
mode if ARG is nil, omitted, or is a positive number. Disable the mode
|
||||||
|
if ARG is a negative number.
|
||||||
|
|
||||||
|
To check whether the minor mode is enabled in the current buffer,
|
||||||
|
evaluate the variable `dash-fontify-mode'.
|
||||||
|
|
||||||
|
The mode's hook is called both when the mode is enabled and when it is
|
||||||
|
disabled.
|
||||||
|
|
||||||
|
\(fn &optional ARG)" t)
|
||||||
|
|
||||||
|
(put 'global-dash-fontify-mode 'globalized-minor-mode t)
|
||||||
|
|
||||||
|
(defvar global-dash-fontify-mode nil "\
|
||||||
|
Non-nil if Global Dash-Fontify mode is enabled.
|
||||||
|
See the `global-dash-fontify-mode' command
|
||||||
|
for a description of this minor mode.
|
||||||
|
Setting this variable directly does not take effect;
|
||||||
|
either customize it (see the info node `Easy Customization')
|
||||||
|
or call the function `global-dash-fontify-mode'.")
|
||||||
|
|
||||||
|
(custom-autoload 'global-dash-fontify-mode "dash" nil)
|
||||||
|
|
||||||
|
(autoload 'global-dash-fontify-mode "dash" "\
|
||||||
|
Toggle Dash-Fontify mode in all buffers.
|
||||||
|
With prefix ARG, enable Global Dash-Fontify mode if ARG is positive;
|
||||||
|
otherwise, disable it.
|
||||||
|
|
||||||
|
If called from Lisp, toggle the mode if ARG is `toggle'.
|
||||||
|
Enable the mode if ARG is nil, omitted, or is a positive number.
|
||||||
|
Disable the mode if ARG is a negative number.
|
||||||
|
|
||||||
|
Dash-Fontify mode is enabled in all buffers where
|
||||||
|
`dash--turn-on-fontify-mode' would do it.
|
||||||
|
|
||||||
|
See `dash-fontify-mode' for more information on Dash-Fontify mode.
|
||||||
|
|
||||||
|
\(fn &optional ARG)" t)
|
||||||
|
|
||||||
|
(autoload 'dash-register-info-lookup "dash" "\
|
||||||
|
Register the Dash Info manual with `info-lookup-symbol'.
|
||||||
|
This allows Dash symbols to be looked up with \\[info-lookup-symbol]." t)
|
||||||
|
|
||||||
|
(register-definition-prefixes "dash" '("!cdr" "!cons" "--" "->" "-a" "-butlast" "-c" "-d" "-e" "-f" "-gr" "-i" "-juxt" "-keep" "-l" "-m" "-no" "-o" "-p" "-r" "-s" "-t" "-u" "-value-to-list" "-when-let" "-zip" "dash-"))
|
||||||
97
emacs-dash.spec
Normal file
97
emacs-dash.spec
Normal file
|
|
@ -0,0 +1,97 @@
|
||||||
|
%global pkg dash
|
||||||
|
|
||||||
|
Name: emacs-%{pkg}
|
||||||
|
Version: 2.20.0
|
||||||
|
Release: 2%{?dist}
|
||||||
|
Summary: A modern list library for Emacs
|
||||||
|
|
||||||
|
# Automatically converted from old format: GPLv3+ - review is highly recommended.
|
||||||
|
License: GPL-3.0-or-later
|
||||||
|
URL: https://github.com/magnars/%{pkg}.el/
|
||||||
|
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||||
|
Source1: %{pkg}-init.el
|
||||||
|
|
||||||
|
BuildRequires: emacs
|
||||||
|
Requires: emacs(bin) >= %{_emacs_version}
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{pkg}.el-%{version}
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{_emacs_bytecompile} %{pkg}.el
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
install -dm 0755 $RPM_BUILD_ROOT%{_emacs_sitelispdir}/%{pkg}/
|
||||||
|
install -pm 0644 %{pkg}.el* -t $RPM_BUILD_ROOT%{_emacs_sitelispdir}/%{pkg}/
|
||||||
|
|
||||||
|
install -Dpm 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_emacs_sitestartdir}/%{pkg}-init.el
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README.md
|
||||||
|
%license LICENSE
|
||||||
|
%{_emacs_sitelispdir}/%{pkg}/
|
||||||
|
%{_emacs_sitestartdir}/*.el
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.20.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jul 12 2025 Mohame El Morabity <melmorabity@fedoraproject.org> - 2.20.0-1
|
||||||
|
- Update to 2.20.0
|
||||||
|
|
||||||
|
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.19.1-10
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 25 2024 Miroslav Suchý <msuchy@redhat.com> - 2.19.1-9
|
||||||
|
- convert license to SPDX
|
||||||
|
|
||||||
|
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.19.1-8
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.19.1-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.19.1-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.19.1-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.19.1-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.19.1-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.19.1-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Sep 04 2021 Mohamed El Morabity <melmorabity@fedoraproject.org> - 2.19.1-1
|
||||||
|
- Update to 2.19.1
|
||||||
|
|
||||||
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.19.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jul 11 2021 Mohamed El Morabity <melmorabity@fedoraproject.org> - 2.19.0-1
|
||||||
|
- Update to 2.19.0
|
||||||
|
|
||||||
|
* Sun Mar 21 2021 Mohamed El Morabity <melmorabity@fedoraproject.org> - 2.18.1-1
|
||||||
|
- Update to 2.18.1
|
||||||
|
|
||||||
|
* Tue Feb 16 2021 Mohamed El Morabity <melmorabity@fedoraproject.org> - 2.18.0-1
|
||||||
|
- Update to 2.18.0
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.17.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Aug 20 2020 Mohamed El Morabity <melmorabity@fedoraproject.org> - 2.17.0-1
|
||||||
|
- Initial RPM release
|
||||||
1
sources
Normal file
1
sources
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
SHA512 (emacs-dash-2.20.0.tar.gz) = e9a34127907afa477f886e73cc3fe8eaeefbd2248faf7a7bf5e2220d8ffc864d3bccb5621f594df717e94538cd42773cd61e5c793e0a87089b5096f4ba6dd938
|
||||||
Loading…
Add table
Add a link
Reference in a new issue