diff options
| author | Eli Zaretskii | 2010-07-31 18:46:58 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2010-07-31 18:46:58 +0300 |
| commit | cd83d522096f71e14fd8836f5bd7378b5eb1cb1c (patch) | |
| tree | 55f8700cea5930ecf91b668f039509c33babdf5d /lisp | |
| parent | 28e5cf7c6afc606436f6a6df448cd582e92867d7 (diff) | |
| download | emacs-cd83d522096f71e14fd8836f5bd7378b5eb1cb1c.tar.gz emacs-cd83d522096f71e14fd8836f5bd7378b5eb1cb1c.zip | |
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/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/files.el | 3 | ||||
| -rw-r--r-- | lisp/language/hebrew.el | 7 |
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 @@ | |||
| 1 | 2010-07-31 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * files.el (bidi-paragraph-direction): Define safe local values. | ||
| 4 | |||
| 5 | * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to | ||
| 6 | language-info-alist. Remove outdated FIXME in a comment. | ||
| 7 | |||
| 1 | 2010-07-31 Alan Mackenzie <acm@muc.de> | 8 | 2010-07-31 Alan Mackenzie <acm@muc.de> |
| 2 | 9 | ||
| 3 | * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688: | 10 | * 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." | |||
| 2784 | (truncate-lines . booleanp) ;; C source code | 2784 | (truncate-lines . booleanp) ;; C source code |
| 2785 | (bidi-display-reordering . booleanp))) ;; C source code | 2785 | (bidi-display-reordering . booleanp))) ;; C source code |
| 2786 | 2786 | ||
| 2787 | (put 'bidi-paragraph-direction 'safe-local-variable | ||
| 2788 | (lambda (v) (memq v '(nil right-to-left left-to-right)))) | ||
| 2789 | |||
| 2787 | (put 'c-set-style 'safe-local-eval-function t) | 2790 | (put 'c-set-style 'safe-local-eval-function t) |
| 2788 | 2791 | ||
| 2789 | (defvar file-local-variables-alist nil | 2792 | (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 @@ | |||
| 46 | (define-coding-system-alias 'iso-8859-8 'hebrew-iso-8bit) | 46 | (define-coding-system-alias 'iso-8859-8 'hebrew-iso-8bit) |
| 47 | 47 | ||
| 48 | ;; These are for Explicit and Implicit directionality information, as | 48 | ;; These are for Explicit and Implicit directionality information, as |
| 49 | ;; defined in RFC 1556. We don't yet support directional information | 49 | ;; defined in RFC 1556. |
| 50 | ;; in bidi languages, so these aliases are a lie, especially as far as | ||
| 51 | ;; iso-8859-8-e is concerned. FIXME. | ||
| 52 | (define-coding-system-alias 'iso-8859-8-e 'hebrew-iso-8bit) | 50 | (define-coding-system-alias 'iso-8859-8-e 'hebrew-iso-8bit) |
| 53 | (define-coding-system-alias 'iso-8859-8-i 'hebrew-iso-8bit) | 51 | (define-coding-system-alias 'iso-8859-8-i 'hebrew-iso-8bit) |
| 54 | 52 | ||
| 55 | (set-language-info-alist | 53 | (set-language-info-alist |
| 56 | "Hebrew" '((charset iso-8859-8) | 54 | "Hebrew" '((tutorial . "TUTORIAL.he") |
| 55 | (charset iso-8859-8) | ||
| 57 | (coding-priority hebrew-iso-8bit) | 56 | (coding-priority hebrew-iso-8bit) |
| 58 | (coding-system hebrew-iso-8bit windows-1255 cp862) | 57 | (coding-system hebrew-iso-8bit windows-1255 cp862) |
| 59 | (nonascii-translation . iso-8859-8) | 58 | (nonascii-translation . iso-8859-8) |