* sweeprolog.el (sweeprolog-predicate-modes-doc): Avoid using
deprecated "face variable". Thanks to Stefan Monnier for suggesting
this improvement.
(when-let ((pi (sweeprolog-identifier-at-point))
(docs (sweeprolog--query-once "sweep" "sweep_documentation"
pi)))
- (funcall cb (car docs) :thing pi :face font-lock-function-name-face)))
+ (funcall cb (car docs)
+ :thing pi
+ :face 'font-lock-function-name-face)))
;;;; Top-level Menu