aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2012-08-03 14:51:11 +0300
committerEli Zaretskii2012-08-03 14:51:11 +0300
commit18949c2f13317a6d679648efe4399c84101f6fab (patch)
tree179cab53792c9fea8baba5428278d9d7772429a6
parent6dad71783c018d3ccabcede7db6ea206de5b3255 (diff)
downloademacs-18949c2f13317a6d679648efe4399c84101f6fab.tar.gz
emacs-18949c2f13317a6d679648efe4399c84101f6fab.zip
Fix whitespace-display-mappings.
lisp/whitespace.el (whitespace-display-mappings): Use Unicode codepoints, instead of emacs-mule codepoints. See http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html for the details.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/whitespace.el10
2 files changed, 8 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d36cc4574fa..0d206f5368f 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,10 @@
12012-08-03 Eli Zaretskii <eliz@gnu.org> 12012-08-03 Eli Zaretskii <eliz@gnu.org>
2 2
3 * whitespace.el (whitespace-display-mappings): Use Unicode
4 codepoints, instead of emacs-mule codepoints. See
5 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
6 for the details.
7
3 * files.el (file-truename): Don't skip symlink-chasing part on 8 * files.el (file-truename): Don't skip symlink-chasing part on
4 windows-nt. Incorporate the resolution of 8+3 short aliases on 9 windows-nt. Incorporate the resolution of 8+3 short aliases on
5 Windows into the loop that recursively chases symlinks. Compare 10 Windows into the loop that recursively chases symlinks. Compare
diff --git a/lisp/whitespace.el b/lisp/whitespace.el
index 9c317e32816..f52a8fb36ae 100644
--- a/lisp/whitespace.el
+++ b/lisp/whitespace.el
@@ -927,17 +927,13 @@ Used when `whitespace-style' includes `lines' or `lines-tail'."
927 '( 927 '(
928 (space-mark ?\ [?\u00B7] [?.]) ; space - centered dot 928 (space-mark ?\ [?\u00B7] [?.]) ; space - centered dot
929 (space-mark ?\xA0 [?\u00A4] [?_]) ; hard space - currency 929 (space-mark ?\xA0 [?\u00A4] [?_]) ; hard space - currency
930 (space-mark ?\x8A0 [?\x8A4] [?_]) ; hard space - currency
931 (space-mark ?\x920 [?\x924] [?_]) ; hard space - currency
932 (space-mark ?\xE20 [?\xE24] [?_]) ; hard space - currency
933 (space-mark ?\xF20 [?\xF24] [?_]) ; hard space - currency
934 ;; NEWLINE is displayed using the face `whitespace-newline' 930 ;; NEWLINE is displayed using the face `whitespace-newline'
935 (newline-mark ?\n [?$ ?\n]) ; eol - dollar sign 931 (newline-mark ?\n [?$ ?\n]) ; eol - dollar sign
936 ;; (newline-mark ?\n [?\u21B5 ?\n] [?$ ?\n]) ; eol - downwards arrow 932 ;; (newline-mark ?\n [?\u21B5 ?\n] [?$ ?\n]) ; eol - downwards arrow
937 ;; (newline-mark ?\n [?\u00B6 ?\n] [?$ ?\n]) ; eol - pilcrow 933 ;; (newline-mark ?\n [?\u00B6 ?\n] [?$ ?\n]) ; eol - pilcrow
938 ;; (newline-mark ?\n [?\x8AF ?\n] [?$ ?\n]) ; eol - overscore 934 ;; (newline-mark ?\n [?\u00AF ?\n] [?$ ?\n]) ; eol - overscore
939 ;; (newline-mark ?\n [?\x8AC ?\n] [?$ ?\n]) ; eol - negation 935 ;; (newline-mark ?\n [?\u00AC ?\n] [?$ ?\n]) ; eol - negation
940 ;; (newline-mark ?\n [?\x8B0 ?\n] [?$ ?\n]) ; eol - grade 936 ;; (newline-mark ?\n [?\u00B0 ?\n] [?$ ?\n]) ; eol - degrees
941 ;; 937 ;;
942 ;; WARNING: the mapping below has a problem. 938 ;; WARNING: the mapping below has a problem.
943 ;; When a TAB occupies exactly one column, it will display the 939 ;; When a TAB occupies exactly one column, it will display the