[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/scad-mode 2c9124f718 16/47: Remove some publicly exposed v
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/scad-mode 2c9124f718 16/47: Remove some publicly exposed variables |
Date: |
Sat, 12 Nov 2022 13:59:34 -0500 (EST) |
branch: elpa/scad-mode
commit 2c9124f718e77cc27113892c2bf68993153a6f5a
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Remove some publicly exposed variables
---
scad-mode.el | 20 +++++++-------------
1 file changed, 7 insertions(+), 13 deletions(-)
diff --git a/scad-mode.el b/scad-mode.el
index b34709b035..f0676473c2 100644
--- a/scad-mode.el
+++ b/scad-mode.el
@@ -149,23 +149,17 @@
st)
"Syntax table for `scad-mode'.")
-(defvar scad-keywords-regexp (regexp-opt scad-keywords 'words))
-(defvar scad-modules-regexp (regexp-opt scad-modules 'words))
-(defvar scad-functions-regexp (regexp-opt scad-functions 'words))
-(defvar scad-deprecated-regexp (regexp-opt scad-deprecated 'words))
-(defvar scad-operators-regexp (regexp-opt scad-operators))
-
(defvar scad-font-lock-keywords
`(
("\\(module\\|function\\)[ \t]+\\(\\sw+\\)" (1 'font-lock-keyword-face
nil) (2 'font-lock-function-name-face nil t))
("\\(use\\|include\\)[ \t]*<\\([^>]+\\)>" (1 'font-lock-preprocessor-face
nil) (2 'font-lock-type-face nil t))
("<\\(\\sw+\\)>" (1 'font-lock-builtin-face nil))
("$\\(\\sw+\\)" (1 'font-lock-builtin-face nil))
- (,scad-keywords-regexp . font-lock-keyword-face)
- (,scad-modules-regexp . font-lock-builtin-face)
- (,scad-functions-regexp . font-lock-function-name-face)
- (,scad-deprecated-regexp . font-lock-warning-face)
- ;(,scad-operators-regexp . font-lock-operator-face) ;; This actually
looks pretty ugly
+ (,(regexp-opt scad-keywords 'words) . font-lock-keyword-face)
+ (,(regexp-opt scad-modules 'words) . font-lock-builtin-face)
+ (,(regexp-opt scad-functions 'words) . font-lock-function-name-face)
+ (,(regexp-opt scad-deprecated 'words) . font-lock-warning-face)
+ ;(,(regexp-opt scad-operators) . font-lock-operator-face) ;; This actually
looks pretty ugly
;("\\(\\<\\S +\\>\\)\\s *(" 1 font-lock-function-name-face t) ;; Seems to
override other stuff (e.g. in comments and builtins)
)
"Keyword highlighting specification for `scad-mode'.")
@@ -179,8 +173,8 @@ Defaults to K&R if nil. If you want to set the style with
file
local variables use the `c-file-style' variable.")
(defvar scad-completions
- (append '("module" "function" "use" "include")
- scad-keywords scad-functions scad-modules)
+ `("module" "function" "use" "include"
+ ,@scad-keywords ,@scad-functions ,@scad-modules)
"List of known words for completion.")
(defcustom scad-mode-disable-c-mode-hook t
- [nongnu] elpa/scad-mode 268a8c46d6 38/47: Remove scad-indent-style, instead configure c-default-style, (continued)
- [nongnu] elpa/scad-mode 268a8c46d6 38/47: Remove scad-indent-style, instead configure c-default-style, ELPA Syncer, 2022/11/12
- [nongnu] elpa/scad-mode ace55270fd 40/47: Add flymake support, ELPA Syncer, 2022/11/12
- [nongnu] elpa/scad-mode 900ca6fc25 41/47: Update README, ELPA Syncer, 2022/11/12
- [nongnu] elpa/scad-mode efc5f1cf14 46/47: Update status if original buffer is dead, ELPA Syncer, 2022/11/12
- [nongnu] elpa/scad-mode aa2e76a29b 23/47: Rename mode back, ELPA Syncer, 2022/11/12
- [nongnu] elpa/scad-mode 1cdc9f304f 26/47: README: Update badges, ELPA Syncer, 2022/11/12
- [nongnu] elpa/scad-mode 28879e735c 33/47: Update status if preview is stale, ELPA Syncer, 2022/11/12
- [nongnu] elpa/scad-mode b0d138e9ec 43/47: Print warning if the scad-preview package is installed, ELPA Syncer, 2022/11/12
- [nongnu] elpa/scad-mode e5ed92217e 10/47: Cleanup mode map, ELPA Syncer, 2022/11/12
- [nongnu] elpa/scad-mode 311797dc44 15/47: Commentary: Remove old todos, ELPA Syncer, 2022/11/12
- [nongnu] elpa/scad-mode 2c9124f718 16/47: Remove some publicly exposed variables,
ELPA Syncer <=
- [nongnu] elpa/scad-mode 9bfaed13bc 25/47: Add support for Org babel, ELPA Syncer, 2022/11/12
- [nongnu] elpa/scad-mode 970982b253 31/47: Fix ob-scad, ELPA Syncer, 2022/11/12
- [nongnu] elpa/scad-mode 7cb7ee82a4 32/47: Enable scad-preview-mode immediately, ELPA Syncer, 2022/11/12
- [nongnu] elpa/scad-mode 1a2e992a5b 34/47: Fix custom types, ELPA Syncer, 2022/11/12
- [nongnu] elpa/scad-mode 4c23eae9c2 35/47: Support both ortho/perspective projection, ELPA Syncer, 2022/11/12
- [nongnu] elpa/scad-mode a1638354e1 39/47: Log openscad output to separate buffer, ELPA Syncer, 2022/11/12
- [nongnu] elpa/scad-mode 3c5fe2c615 28/47: Improve preview mode settings, ELPA Syncer, 2022/11/12
- [nongnu] elpa/scad-mode be02b626ce 42/47: Fix flymake configuration, ELPA Syncer, 2022/11/12
- [nongnu] elpa/scad-mode 29a4f8a848 44/47: scad-export: Add file argument, ELPA Syncer, 2022/11/12
- [nongnu] elpa/scad-mode 3076e240bf 47/47: Version 93.1, ELPA Syncer, 2022/11/12