Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e191e66636 | ||
|
|
7faea19ebe | ||
|
|
e2521117ad | ||
|
|
7a79b9496e |
4 changed files with 69 additions and 6 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -1 +1,5 @@
|
||||||
/emacs-dash-2.17.0.tar.gz
|
/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
|
||||||
|
|
|
||||||
47
dash-init.el
Normal file
47
dash-init.el
Normal file
|
|
@ -0,0 +1,47 @@
|
||||||
|
(autoload 'dash-fontify-mode "dash" "\
|
||||||
|
Toggle fontification of Dash special variables.
|
||||||
|
|
||||||
|
If called interactively, enable Dash-Fontify mode if ARG is
|
||||||
|
positive, and disable it if ARG is zero or negative. If called
|
||||||
|
from Lisp, also enable the mode if ARG is omitted or nil, and
|
||||||
|
toggle it if ARG is `toggle'; disable the mode otherwise.
|
||||||
|
|
||||||
|
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'.
|
||||||
|
|
||||||
|
\(fn &optional ARG)" t nil)
|
||||||
|
|
||||||
|
(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, enable the mode if
|
||||||
|
ARG is omitted or nil.
|
||||||
|
|
||||||
|
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 nil)
|
||||||
|
|
||||||
|
(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 nil)
|
||||||
|
|
@ -1,13 +1,14 @@
|
||||||
%global pkg dash
|
%global pkg dash
|
||||||
|
|
||||||
Name: emacs-%{pkg}
|
Name: emacs-%{pkg}
|
||||||
Version: 2.17.0
|
Version: 2.19.1
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: A modern list library for Emacs
|
Summary: A modern list library for Emacs
|
||||||
|
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
URL: https://github.com/magnars/%{pkg}.el/
|
URL: https://github.com/magnars/%{pkg}.el/
|
||||||
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||||
|
Source1: %{pkg}-init.el
|
||||||
|
|
||||||
BuildRequires: emacs
|
BuildRequires: emacs
|
||||||
Requires: emacs(bin) >= %{_emacs_version}
|
Requires: emacs(bin) >= %{_emacs_version}
|
||||||
|
|
@ -29,18 +30,29 @@ BuildArch: noarch
|
||||||
install -dm 0755 $RPM_BUILD_ROOT%{_emacs_sitelispdir}/%{pkg}/
|
install -dm 0755 $RPM_BUILD_ROOT%{_emacs_sitelispdir}/%{pkg}/
|
||||||
install -pm 0644 %{pkg}.el* -t $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
|
||||||
%check
|
|
||||||
./run-tests.sh
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_emacs_sitelispdir}/%{pkg}/
|
%{_emacs_sitelispdir}/%{pkg}/
|
||||||
|
%{_emacs_sitestartdir}/*.el
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Sep 04 2021 Mohamed El Morabity <melmorabity@fedoraproject.org> - 2.19.1-1
|
||||||
|
- Update to 2.19.1
|
||||||
|
|
||||||
|
* 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
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.17.0-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
|
|
||||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
||||||
SHA512 (emacs-dash-2.17.0.tar.gz) = e53fa1bb9e854b446931d943caac719646218c96160f7c50615b5e95866f4db9dffa6e752596e9c223bcd5b39a80c0c75748b0e0564d72ce5825715a29b80d01
|
SHA512 (emacs-dash-2.19.1.tar.gz) = 6822e0068bf2f2082faa4de47521982eba0117037c333178517eca9e6db1c33a2767b250a6ecbd329d2e2ca9e107d2baf0b025e34ba50f1b60da5bb7da06c195
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue