Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lyskom-elisp-client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
lyskom-elisp-client
lyskom-elisp-client
Commits
1fcddcf2
Commit
1fcddcf2
authored
Jan 31, 1997
by
David Kågedal
Browse files
Options
Downloads
Patches
Plain Diff
* language.el (lyskom-languages): Ny variabel.
(lyskom-define-language): Sätt den.
parent
a2d921a6
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/language.el
+12
-5
12 additions, 5 deletions
src/language.el
with
12 additions
and
5 deletions
src/language.el
+
12
−
5
View file @
1fcddcf2
...
@@ -32,14 +32,19 @@
...
@@ -32,14 +32,19 @@
(
require
'lyskom-vars
"vars"
)
(
require
'lyskom-vars
"vars"
)
;;; Variables
;;(defvar lyskom-language-symbols nil
;;(defvar lyskom-language-symbols nil
;; "Symbols with language data bound to them")
;; "Symbols with language data bound to them")
(
defvar
lyskom-languages
nil
"A alist of defined languages.
Each entry is a pair (SYMBOL . (NAME NAME ...)) where symbol is the symbol
used for identification, and the NAMEs are names of the language."
)
(
defvar
lyskom-language-categories
nil
(
defvar
lyskom-language-categories
nil
"Categories used"
)
"Categories used"
)
;;; Variables
(
defvar
lyskom-language-vars
nil
(
defvar
lyskom-language-vars
nil
"A list of all language-dependent variables."
)
"A list of all language-dependent variables."
)
...
@@ -190,9 +195,11 @@ if 'lyskom-menu is not found."
...
@@ -190,9 +195,11 @@ if 'lyskom-menu is not found."
(
get
category
'lyskom-language-symbols
)))
(
get
category
'lyskom-language-symbols
)))
(
defun
lyskom-define-language
(
language
name
)
(
defun
lyskom-define-language
(
language
&rest
names
)
;; Do nothing for now
(
let
((
match
(
assq
language
lyskom-languages
)))
)
(
if
match
(
setcdr
match
names
)
(
setq
lyskom-languages
(
cons
(
cons
language
names
)
lyskom-languages
)))))
(
defun
lyskom-set-language
(
language
)
(
defun
lyskom-set-language
(
language
)
"Set the current language to LANGUAGE."
"Set the current language to LANGUAGE."
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment