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
2dab7802
Commit
2dab7802
authored
Jun 11, 1993
by
Richard M. Stallman
Browse files
(lisp-indent-function): Look for either
lisp-indent-hook or lisp-indent-function property.
parent
34fc3882
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lisp/emacs-lisp/lisp-mode.el
lisp/emacs-lisp/lisp-mode.el
+2
-1
No files found.
lisp/emacs-lisp/lisp-mode.el
View file @
2dab7802
...
...
@@ -414,7 +414,8 @@ of the start of the containing expression."
(
let
((
function
(
buffer-substring
(
point
)
(
progn
(
forward-sexp
1
)
(
point
))))
method
)
(
setq
method
(
get
(
intern-soft
function
)
'lisp-indent-function
))
(
setq
method
(
or
(
get
(
intern-soft
function
)
'lisp-indent-function
)
(
get
(
intern-soft
function
)
'lisp-indent-hook
)))
(
cond
((
or
(
eq
method
'defun
)
(
and
(
null
method
)
(
>
(
length
function
)
3
)
...
...
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