summaryrefslogtreecommitdiffstats
path: root/emacs
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2012-08-24 01:44:03 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2012-08-24 01:44:25 +0200
commitc26946a85cc62d47734db4c37f110fb9591bd5c4 (patch)
tree16c0b1f7894eb05cc567900b4510ec43f8fef43a /emacs
parent004316ce2e007f423e0615825de05783fb9a0dd4 (diff)
downloaddotfiles-c26946a85cc62d47734db4c37f110fb9591bd5c4.tar.gz
dotfiles-c26946a85cc62d47734db4c37f110fb9591bd5c4.tar.xz
dotfiles-c26946a85cc62d47734db4c37f110fb9591bd5c4.zip
emacs: fix scroll delay in emacs 24.1
bidi introduces large scroll delays in emacs 24.1 (especially in wanderlust), setting bidi-paragraph-direction disables the time consuming search and fixes the problem
Diffstat (limited to 'emacs')
-rw-r--r--emacs4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs b/emacs
index 6d43c4f..a707557 100644
--- a/emacs
+++ b/emacs
@@ -11,6 +11,10 @@
(normal-top-level-add-subdirs-to-load-path)
(nconc load-path orig-load-path))
+;; fix scroll bug with emacs 24.1
+(when (boundp 'bidi-paragraph-direction)
+ (setq-default bidi-paragraph-direction 'left-to-right))
+
;; load own color theme
(when (require 'color-theme nil 'noerror)
(color-theme-initialize)