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
Open sidebar
emacs
emacs
Commits
3fde45af
Commit
3fde45af
authored
Jun 22, 2009
by
Glenn Morris
Browse files
(lisp-indent-offset): Fix safe-local-variable property.
(lisp-indent-function): Make it a defcustom.
parent
ec7c9926
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
lisp/ChangeLog
lisp/ChangeLog
+6
-0
lisp/emacs-lisp/lisp-mode.el
lisp/emacs-lisp/lisp-mode.el
+5
-3
No files found.
lisp/ChangeLog
View file @
3fde45af
2009-06-22 Glenn Morris <rgm@gnu.org>
* emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
property.
(lisp-indent-function): Make it a defcustom.
2009-06-21 Nick Roberts <nickrob@snap.net.nz>
* progmodes/gdb-ui.el: Replace with ...
...
...
lisp/emacs-lisp/lisp-mode.el
View file @
3fde45af
...
...
@@ -877,15 +877,17 @@ which see."
"If non-nil, indent second line of expressions that many more columns."
:group
'lisp
:type
'
(
choice
(
const
nil
)
integer
))
(
put
'lisp-
body-
indent
'safe-local-variable
(
put
'lisp-inden
t-offse
t
'safe-local-variable
(
lambda
(
x
)
(
or
(
null
x
)
(
integerp
x
))))
(
def
var
lisp-indent-function
'lisp-indent-function
(
def
custom
lisp-indent-function
'lisp-indent-function
"A function to be called by `calculate-lisp-indent'.
It indents the arguments of a Lisp function call. This function
should accept two arguments: the indent-point, and the
`parse-partial-sexp' state at that position. One option for this
function is `common-lisp-indent-function'."
)
function is `common-lisp-indent-function'."
:type
'function
:group
'lisp
)
(
defun
lisp-indent-line
(
&optional
whole-exp
)
"Indent current line as Lisp code.
...
...
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