Skip to content

drop line-number-at-post for performance#14

Open
malb wants to merge 1 commit into
sabof:masterfrom
malb:master
Open

drop line-number-at-post for performance#14
malb wants to merge 1 commit into
sabof:masterfrom
malb:master

Conversation

@malb

@malb malb commented Sep 2, 2015

Copy link
Copy Markdown

Replace (line-number-at-pos) with (string-to-number (format-mode-line
"%l")) which is much faster.

source http://emacs.stackexchange.com/q/3821/8930

Replace (line-number-at-pos) with (string-to-number (format-mode-line
"%l")) which is much faster.

source http://emacs.stackexchange.com/q/3821/8930
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant