summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2010-07-31 18:46:58 +0300
committerEli Zaretskii <eliz@gnu.org>2010-07-31 18:46:58 +0300
commitcd83d522096f71e14fd8836f5bd7378b5eb1cb1c (patch)
tree55f8700cea5930ecf91b668f039509c33babdf5d /lisp
parent28e5cf7c6afc606436f6a6df448cd582e92867d7 (diff)
downloademacs-cd83d522096f71e14fd8836f5bd7378b5eb1cb1c.tar.gz
Add a Hebrew translation of the tutorial.
etc/tutorials/TUTORIAL.he: New file. etc/tutorials/TUTORIAL.translators: Add TUTORIAL.he. lisp/files.el (bidi-paragraph-direction): Define safe local values. lisp/language/hebrew.el ("Hebrew"): Add TUTORIAL.he to language-info-alist. Remove outdated FIXME in a comment.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/files.el3
-rw-r--r--lisp/language/hebrew.el7
3 files changed, 13 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 151fe8da2be..0031d1be26d 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
+2010-07-31 Eli Zaretskii <eliz@gnu.org>
+
+ * files.el (bidi-paragraph-direction): Define safe local values.
+
+ * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
+ language-info-alist. Remove outdated FIXME in a comment.
+
2010-07-31 Alan Mackenzie <acm@muc.de>
* progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
diff --git a/lisp/files.el b/lisp/files.el
index d30531b17e5..8b131e04ebc 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -2784,6 +2784,9 @@ asking you for confirmation."
(truncate-lines . booleanp) ;; C source code
(bidi-display-reordering . booleanp))) ;; C source code
+(put 'bidi-paragraph-direction 'safe-local-variable
+ (lambda (v) (memq v '(nil right-to-left left-to-right))))
+
(put 'c-set-style 'safe-local-eval-function t)
(defvar file-local-variables-alist nil
diff --git a/lisp/language/hebrew.el b/lisp/language/hebrew.el
index 89a22d2d238..876f6fa1aba 100644
--- a/lisp/language/hebrew.el
+++ b/lisp/language/hebrew.el
@@ -46,14 +46,13 @@
(define-coding-system-alias 'iso-8859-8 'hebrew-iso-8bit)
;; These are for Explicit and Implicit directionality information, as
-;; defined in RFC 1556. We don't yet support directional information
-;; in bidi languages, so these aliases are a lie, especially as far as
-;; iso-8859-8-e is concerned. FIXME.
+;; defined in RFC 1556.
(define-coding-system-alias 'iso-8859-8-e 'hebrew-iso-8bit)
(define-coding-system-alias 'iso-8859-8-i 'hebrew-iso-8bit)
(set-language-info-alist
- "Hebrew" '((charset iso-8859-8)
+ "Hebrew" '((tutorial . "TUTORIAL.he")
+ (charset iso-8859-8)
(coding-priority hebrew-iso-8bit)
(coding-system hebrew-iso-8bit windows-1255 cp862)
(nonascii-translation . iso-8859-8)