Skip to content
Snippets Groups Projects
Commit d31fef31 authored by llaffont's avatar llaffont
Browse files

Ajout ac-etags dans opac3.el

parent e5d797bc
No related merge requests found
...@@ -192,3 +192,20 @@ ...@@ -192,3 +192,20 @@
:after-hook 'opac3-mode-hook) :after-hook 'opac3-mode-hook)
(provide 'opac3) (provide 'opac3)
(defface ac-etags-candidate-face
'((t (:background "gainsboro" :foreground "deep sky blue")))
"Face for etags candidate")
(defface ac-etags-selection-face
'((t (:background "deep sky blue" :foreground "white")))
"Face for the etags selected candidate.")
(defvar ac-source-etags
'((candidates . (lambda ()
(all-completions ac-target (tags-completion-table))))
(candidate-face . ac-etags-candidate-face)
(selection-face . ac-etags-selection-face)
(requires . 3))
"Source for etags.")
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment