mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-05 19:31:02 -08:00
; Fix recently introduced uses of "ELisp".
This commit is contained in:
parent
fff1c66830
commit
7e38562bcd
3 changed files with 8 additions and 8 deletions
2
etc/NEWS
2
etc/NEWS
|
|
@ -1168,7 +1168,7 @@ at run-time for the use of the associated deprecated features.
|
||||||
'(setq eieio-backward-compatibility t)' can be used to recover
|
'(setq eieio-backward-compatibility t)' can be used to recover
|
||||||
the previous silence.
|
the previous silence.
|
||||||
|
|
||||||
** ELisp mode
|
** Emacs Lisp mode
|
||||||
|
|
||||||
+++
|
+++
|
||||||
*** Semantic highlighting support for Emacs Lisp.
|
*** Semantic highlighting support for Emacs Lisp.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
;;; elisp-scope.el --- Semantic analysis for ELisp symbols -*- lexical-binding: t; -*-
|
;;; elisp-scope.el --- Semantic analysis for Elisp symbols -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
;; Copyright (C) 2025 Free Software Foundation, Inc.
|
;; Copyright (C) 2025 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
|
|
||||||
;; This library implements an analysis that determines the role of each
|
;; This library implements an analysis that determines the role of each
|
||||||
;; symbol in ELisp code.
|
;; symbol in Emacs Lisp code.
|
||||||
|
|
||||||
;; The analysis assigns to each symbol a "symbol role", such as
|
;; The analysis assigns to each symbol a "symbol role", such as
|
||||||
;; `function', `bound-variable', `binding-variable', `face', etc. Each
|
;; `function', `bound-variable', `binding-variable', `face', etc. Each
|
||||||
|
|
@ -139,8 +139,8 @@
|
||||||
"Define NAME as the name of a symbol role that inherits from PARENTS.
|
"Define NAME as the name of a symbol role that inherits from PARENTS.
|
||||||
|
|
||||||
A symbol role is a symbol that Emacs uses to describe the role
|
A symbol role is a symbol that Emacs uses to describe the role
|
||||||
of (other) symbols in ELisp source code. For example, the symbol role
|
of (other) symbols in Emacs Lisp source code. For example, the symbol
|
||||||
`face' characterizes symbols that are face names.
|
role `face' characterizes symbols that are face names.
|
||||||
|
|
||||||
PROPS is a plist specifying the properties of the new symbol role NAME.
|
PROPS is a plist specifying the properties of the new symbol role NAME.
|
||||||
NAME inherits properties that do not appear in PROPS from its PARENTS.
|
NAME inherits properties that do not appear in PROPS from its PARENTS.
|
||||||
|
|
@ -392,12 +392,12 @@ Interactively, prompt for ROLE."
|
||||||
:help "Widget type definition")
|
:help "Widget type definition")
|
||||||
|
|
||||||
(elisp-scope-define-symbol-role type ()
|
(elisp-scope-define-symbol-role type ()
|
||||||
:doc "ELisp object type names."
|
:doc "Elisp object type names."
|
||||||
:face 'elisp-type
|
:face 'elisp-type
|
||||||
:help "Type")
|
:help "Type")
|
||||||
|
|
||||||
(elisp-scope-define-symbol-role deftype (type)
|
(elisp-scope-define-symbol-role deftype (type)
|
||||||
:doc "ELisp object type definitions."
|
:doc "Elisp object type definitions."
|
||||||
:help "Type definition")
|
:help "Type definition")
|
||||||
|
|
||||||
(elisp-scope-define-symbol-role group ()
|
(elisp-scope-define-symbol-role group ()
|
||||||
|
|
|
||||||
|
|
@ -526,7 +526,7 @@ code analysis."
|
||||||
'elisp-highlight-variable t)))
|
'elisp-highlight-variable t)))
|
||||||
|
|
||||||
(defun elisp-cursor-sensor (pos)
|
(defun elisp-cursor-sensor (pos)
|
||||||
"Return `cursor-sensor-functions' for ELisp symbol at POS."
|
"Return `cursor-sensor-functions' for Emacs Lisp symbol at POS."
|
||||||
(list
|
(list
|
||||||
(lambda (_win old dir)
|
(lambda (_win old dir)
|
||||||
(cl-case dir
|
(cl-case dir
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue