Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
ee9e0c25
Commit
ee9e0c25
authored
Mar 24, 2002
by
Gerd Moellmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Declarations in macros.
parent
0af6533d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
etc/NEWS
etc/NEWS
+16
-0
No files found.
etc/NEWS
View file @
ee9e0c25
...
...
@@ -576,6 +576,22 @@ SQL buffer.
* Lisp Changes in Emacs 21.3
** The `defmacro' form may contain declarations specifying how to
indent the macro in Lisp mode and how to debug it with Edebug. The
syntax of defmacro has been extended to
(defmacro NAME LAMBDA-LIST [DOC-STRING] [DECLARATION ...] ...)
DECLARATION is a list `(declare DECLARATION-SPECIFIER ...)'. The
declaration specifiers supported are:
(indent INDENT)
Set NAME's `lisp-indent-function' property to INDENT.
(edebug DEBUG)
Set NAME's `edebug-form-spec' property to DEBUG. (This is
equivalent to writing a `def-edebug-spec' for the macro.
** Interactive commands can be remapped through keymaps.
This is an alternative to using defadvice or substitute-key-definition
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment