aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kangas2025-02-26 03:31:57 +0100
committerStefan Kangas2025-02-26 03:34:14 +0100
commita90da8990342c7fc0aa51ae92a0849de346a8d8b (patch)
tree39300a57579ec026b041cd10a3b09cd2a8b5be66
parent58c7acb55543bddf4280e90c219ee5023d4898f9 (diff)
downloademacs-a90da8990342c7fc0aa51ae92a0849de346a8d8b.tar.gz
emacs-a90da8990342c7fc0aa51ae92a0849de346a8d8b.zip
; Fix up emacs-lisp-mode docstring
* lisp/progmodes/elisp-mode.el (emacs-lisp-mode, lisp-interaction-mode): Fix up docstring slightly by removing redundant and misplaced word "Commands", and prefix list with dashes.
-rw-r--r--lisp/progmodes/elisp-mode.el16
1 files changed, 8 insertions, 8 deletions
diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el
index a573d9ef864..bde6b030335 100644
--- a/lisp/progmodes/elisp-mode.el
+++ b/lisp/progmodes/elisp-mode.el
@@ -335,9 +335,10 @@ mouse-1: Enable lexical-binding mode"
335 mouse-face mode-line-highlight 335 mouse-face mode-line-highlight
336 local-map ,elisp--dynlex-modeline-map))) 336 local-map ,elisp--dynlex-modeline-map)))
337 "Major mode for editing Lisp code to run in Emacs. 337 "Major mode for editing Lisp code to run in Emacs.
338Commands: 338
339Delete converts tabs to spaces as it moves back. 339- Delete converts tabs to spaces as it moves back.
340Blank lines separate paragraphs. Semicolons start comments. 340- Blank lines separate paragraphs.
341- Semicolons start comments.
341 342
342When editing Lisp data (as opposed to code), `lisp-data-mode' can 343When editing Lisp data (as opposed to code), `lisp-data-mode' can
343be used instead. 344be used instead.
@@ -367,7 +368,7 @@ be used instead.
367 #'elisp-completion-at-point nil 'local) 368 #'elisp-completion-at-point nil 'local)
368 (add-hook 'flymake-diagnostic-functions #'elisp-flymake-checkdoc nil t) 369 (add-hook 'flymake-diagnostic-functions #'elisp-flymake-checkdoc nil t)
369 (add-hook 'flymake-diagnostic-functions 370 (add-hook 'flymake-diagnostic-functions
370 #'elisp-flymake-byte-compile nil t) 371 #'elisp-flymake-byte-compile nil t)
371 (add-hook 'context-menu-functions #'elisp-context-menu 10 t)) 372 (add-hook 'context-menu-functions #'elisp-context-menu 10 t))
372 373
373;; Font-locking support. 374;; Font-locking support.
@@ -1330,10 +1331,9 @@ before point, and prints its value into the buffer, advancing point.
1330Note that printing is controlled by `eval-expression-print-length' 1331Note that printing is controlled by `eval-expression-print-length'
1331and `eval-expression-print-level'. 1332and `eval-expression-print-level'.
1332 1333
1333Commands: 1334- Delete converts tabs to spaces as it moves back.
1334Delete converts tabs to spaces as it moves back. 1335- Paragraphs are separated only by blank lines.
1335Paragraphs are separated only by blank lines. 1336- Semicolons start comments.
1336Semicolons start comments.
1337 1337
1338\\{lisp-interaction-mode-map}" 1338\\{lisp-interaction-mode-map}"
1339 :abbrev-table nil 1339 :abbrev-table nil