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
fdab3d0b
Commit
fdab3d0b
authored
Oct 27, 2013
by
Nathan Trapuzzano
Committed by
Stefan Monnier
Oct 27, 2013
Browse files
* lisp/linum.el (linum-update-window): Fix boundary test.
Fixes: debbugs:13446
parent
c8c605ac
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
etc/NEWS
etc/NEWS
+1
-1
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/linum.el
lisp/linum.el
+1
-1
No files found.
etc/NEWS
View file @
fdab3d0b
...
...
@@ -216,7 +216,7 @@ You can pick the name of the function and the variables with `C-x 4 a'.
*
Changes in Specialized Modes and Packages in Emacs 24.4
** prolog-use-smie has been rem
v
oed, along with the non-SMIE indentation code.
** prolog-use-smie has been remo
v
ed, along with the non-SMIE indentation code.
** SMIE indentation can be customized via `smie-config'.
The customizaton can be guessed by Emacs by providing a sample indented
...
...
lisp/ChangeLog
View file @
fdab3d0b
2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com>
* linum.el (linum-update-window): Fix boundary test (bug#13446).
2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
* progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
...
...
lisp/linum.el
View file @
fdab3d0b
...
...
@@ -152,7 +152,7 @@ Linum mode is a buffer-local minor mode."
(
run-hooks
'linum-before-numbering-hook
)
;; Create an overlay (or reuse an existing one) for each
;; line visible in this window, if necessary.
(
while
(
and
(
not
(
eobp
))
(
<
=
(
point
)
limit
))
(
while
(
and
(
not
(
eobp
))
(
<
(
point
)
limit
))
(
let*
((
str
(
if
fmt
(
propertize
(
format
fmt
line
)
'face
'linum
)
(
funcall
linum-format
line
)))
...
...
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