chiark / gitweb /
el/dot-emacs.el, dot/gnus.el: Handle character widths correctly.
[profile] / el / dot-emacs.el
index 65069672b567158247d4bed21e9f0e8892e74454..879abdb3f51be48832047f3f1f1af3923c66d8bc 100644 (file)
@@ -238,6 +238,10 @@ (defadvice rename-file (after mdw-rename-buffers (from to &optional forcep)
          (with-current-buffer buffer
            (set-visited-file-name to nil t)))))))
 
+;; Character width table hacking.
+(dolist (ch '(?🙀))
+  (aset char-width-table ch 2))
+
 ;;;--------------------------------------------------------------------------
 ;;; Miscellaneous bug fixes.