Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/karimaziev/elisp-eldoc-flags
Additional Eldoc functions for emacs-lisp-mode
https://github.com/karimaziev/elisp-eldoc-flags
Last synced: 4 days ago
JSON representation
Additional Eldoc functions for emacs-lisp-mode
- Host: GitHub
- URL: https://github.com/karimaziev/elisp-eldoc-flags
- Owner: KarimAziev
- License: gpl-3.0
- Created: 2023-03-11T13:20:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-09T12:22:56.000Z (5 days ago)
- Last Synced: 2024-11-09T13:24:28.254Z (5 days ago)
- Language: Emacs Lisp
- Size: 35.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
README
* elisp-eldoc-flags
Additional Eldoc and completion functions for ~emacs-lisp-mode~.
** Installation
Emacs >= 26.1 is required.
*** Manual
Download the source code and put it wherever you like, e.g. into =~/.emacs.d/elisp-eldoc-flags/=
#+begin_src shell :eval no
git clone https://github.com/KarimAziev/elisp-eldoc-flags.git ~/.emacs.d/elisp-eldoc-flags/
#+end_srcAdd the downloaded directory to the load path:
#+begin_src elisp :eval no
(add-to-list 'load-path "~/.emacs.d/elisp-eldoc-flags/")
(require 'elisp-eldoc-flags)
(add-hook 'emacs-lisp-mode-hook #'elisp-eldoc-flags-add-eldoc-functions)
#+end_src#+begin_src elisp :eval no
(use-package elisp-eldoc-flags
:straight (elisp-eldoc-flags
:repo "KarimAziev/elisp-eldoc-flags"
:type git
:host github)
:hook ((emacs-lisp-mode . elisp-eldoc-flags-add-eldoc-functions)
(emacs-lisp-mode . elisp-eldoc-flags-add-completion-functions)))
#+end_src** Elcoc Commands
*** elisp-eldoc-flags-add-eldoc-functions
Add extra functions to =eldoc-documentation-functions=. This functions are listed in the custom variable =elisp-eldoc-flags-functions= with default value:
- ~elisp-eldoc-flags-describe-interactive-flag~ Describe arg-descriptor inside =interactive= calls.
- ~elisp-eldoc-flags-describe-format-flag~ Describe %-sequences inside string.*** elisp-eldoc-flags-remove-eldoc-functions
Remove =elisp-eldoc-flags-functions= from =eldoc-documentation-functions=.
** Completions commands
*** elisp-eldoc-flags-add-completion-functionsAdd extra functions to completions at point. This functions are listed in the custom variable =elisp-eldoc-flags-completions-functions= with default value:
- ~elisp-eldoc-flags-interactive-completion-at-point~ which completes inside string in the ~interactive~ form.
*** elisp-eldoc-flags-remove-completion-functions
Remove =elisp-eldoc-flags-completions-functions= from completions at point.