aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Whitton2025-10-13 16:37:40 +0100
committerSean Whitton2025-10-13 16:37:40 +0100
commit7e38562bcd4725bc45f2fc47d2b5fbacde498898 (patch)
tree37cbb15a414e0f7505c8f82cde6d6c51bfe353c1
parentfff1c66830ec8a44551ed80e725f421faa65f0d5 (diff)
downloademacs-7e38562bcd4725bc45f2fc47d2b5fbacde498898.tar.gz
emacs-7e38562bcd4725bc45f2fc47d2b5fbacde498898.zip
; Fix recently introduced uses of "ELisp".
-rw-r--r--etc/NEWS2
-rw-r--r--lisp/emacs-lisp/elisp-scope.el12
-rw-r--r--lisp/progmodes/elisp-mode.el2
3 files changed, 8 insertions, 8 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 4baf81f9ebb..4e27d6fc44e 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1168,7 +1168,7 @@ at run-time for the use of the associated deprecated features.
1168'(setq eieio-backward-compatibility t)' can be used to recover 1168'(setq eieio-backward-compatibility t)' can be used to recover
1169the previous silence. 1169the previous silence.
1170 1170
1171** ELisp mode 1171** Emacs Lisp mode
1172 1172
1173+++ 1173+++
1174*** Semantic highlighting support for Emacs Lisp. 1174*** Semantic highlighting support for Emacs Lisp.
diff --git a/lisp/emacs-lisp/elisp-scope.el b/lisp/emacs-lisp/elisp-scope.el
index 955616e5e42..5230da17cc4 100644
--- a/lisp/emacs-lisp/elisp-scope.el
+++ b/lisp/emacs-lisp/elisp-scope.el
@@ -1,4 +1,4 @@
1;;; elisp-scope.el --- Semantic analysis for ELisp symbols -*- lexical-binding: t; -*- 1;;; elisp-scope.el --- Semantic analysis for Elisp symbols -*- lexical-binding: t; -*-
2 2
3;; Copyright (C) 2025 Free Software Foundation, Inc. 3;; Copyright (C) 2025 Free Software Foundation, Inc.
4 4
@@ -21,7 +21,7 @@
21;;; Commentary: 21;;; Commentary:
22 22
23;; This library implements an analysis that determines the role of each 23;; This library implements an analysis that determines the role of each
24;; symbol in ELisp code. 24;; symbol in Emacs Lisp code.
25 25
26;; The analysis assigns to each symbol a "symbol role", such as 26;; The analysis assigns to each symbol a "symbol role", such as
27;; `function', `bound-variable', `binding-variable', `face', etc. Each 27;; `function', `bound-variable', `binding-variable', `face', etc. Each
@@ -139,8 +139,8 @@
139 "Define NAME as the name of a symbol role that inherits from PARENTS. 139 "Define NAME as the name of a symbol role that inherits from PARENTS.
140 140
141A symbol role is a symbol that Emacs uses to describe the role 141A symbol role is a symbol that Emacs uses to describe the role
142of (other) symbols in ELisp source code. For example, the symbol role 142of (other) symbols in Emacs Lisp source code. For example, the symbol
143`face' characterizes symbols that are face names. 143role `face' characterizes symbols that are face names.
144 144
145PROPS is a plist specifying the properties of the new symbol role NAME. 145PROPS is a plist specifying the properties of the new symbol role NAME.
146NAME inherits properties that do not appear in PROPS from its PARENTS. 146NAME inherits properties that do not appear in PROPS from its PARENTS.
@@ -392,12 +392,12 @@ Interactively, prompt for ROLE."
392 :help "Widget type definition") 392 :help "Widget type definition")
393 393
394(elisp-scope-define-symbol-role type () 394(elisp-scope-define-symbol-role type ()
395 :doc "ELisp object type names." 395 :doc "Elisp object type names."
396 :face 'elisp-type 396 :face 'elisp-type
397 :help "Type") 397 :help "Type")
398 398
399(elisp-scope-define-symbol-role deftype (type) 399(elisp-scope-define-symbol-role deftype (type)
400 :doc "ELisp object type definitions." 400 :doc "Elisp object type definitions."
401 :help "Type definition") 401 :help "Type definition")
402 402
403(elisp-scope-define-symbol-role group () 403(elisp-scope-define-symbol-role group ()
diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el
index 5f79909be56..87c7a53b057 100644
--- a/lisp/progmodes/elisp-mode.el
+++ b/lisp/progmodes/elisp-mode.el
@@ -526,7 +526,7 @@ code analysis."
526 'elisp-highlight-variable t))) 526 'elisp-highlight-variable t)))
527 527
528(defun elisp-cursor-sensor (pos) 528(defun elisp-cursor-sensor (pos)
529 "Return `cursor-sensor-functions' for ELisp symbol at POS." 529 "Return `cursor-sensor-functions' for Emacs Lisp symbol at POS."
530 (list 530 (list
531 (lambda (_win old dir) 531 (lambda (_win old dir)
532 (cl-case dir 532 (cl-case dir