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
4
Issues
4
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
473a4201
Commit
473a4201
authored
Mar 23, 2017
by
Tom Tromey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make smie.el respect prog-first-column
* lisp/emacs-lisp/smie.el (smie-indent-bob): Call prog-first-column.
parent
14659f69
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
lisp/emacs-lisp/smie.el
lisp/emacs-lisp/smie.el
+3
-1
No files found.
lisp/emacs-lisp/smie.el
View file @
473a4201
...
...
@@ -123,6 +123,8 @@
(
eval-when-compile
(
require
'cl-lib
))
(
require
'prog-mode
)
(
defgroup
smie
nil
"Simple Minded Indentation Engine."
:group
'languages
)
...
...
@@ -1455,7 +1457,7 @@ in order to figure out the indentation of some other (further down) point."
;; Start the file at column 0.
(
save-excursion
(
forward-comment
(
-
(
point
)))
(
if
(
bobp
)
0
)))
(
if
(
bobp
)
(
prog-first-column
)
)))
(
defun
smie-indent-close
()
;; Align close paren with opening paren.
...
...
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