Commits

torsten  committed 1733105

- incorporated upstream changes

  • Participants
  • Parent commits c421ce4

Comments (0)

Files changed (2)

+2004-10-02  Torsten Hilbrich  <dictionary@myrkr.in-berlin.de>
+	* dictionary.el: fixed decoding problem when selecting dictionary
+	                 (problem reported by Kuno Strassmann)
+	
 2004-10-01  Norbert Koch  <viteno@xemacs.org>
 
 	* Makefile (VERSION): XEmacs package 1.14 released.

File dictionary.el

   "Display a single dictionary"
   (let* ((list (dictionary-split-string string))
 	 (dictionary (car list))
-	 (description (cadr list)))
+	 (description (cadr list))
+	 (translated (dictionary-decode-charset description dictionary)))
     (if dictionary
 	(progn
-	  (link-insert-link description 'dictionary-reference-face
+	  (link-insert-link (concat dictionary ": " translated)
+			    'dictionary-reference-face
 			    'dictionary-set-dictionary 
 			    (cons dictionary description)
 			    "Mouse-2 to select this dictionary")