]> code.delx.au - gnu-emacs/blobdiff - lisp/composite.el
Derive secrets-mode from special-mode
[gnu-emacs] / lisp / composite.el
index 666d6c9dd91da6e8dd0f5c94b54e530be89eeebd..94b14dfc94ae96c6a76e8836e964e1eb2975a9e6 100644 (file)
@@ -1,6 +1,6 @@
 ;;; composite.el --- support character composition
 
-;; Copyright (C) 2001-2014 Free Software Foundation, Inc.
+;; Copyright (C) 2001-2016 Free Software Foundation, Inc.
 
 ;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
 ;;   2008, 2009, 2010, 2011
@@ -702,7 +702,7 @@ All non-spacing characters have this function in
            (setq xoff (- (lglyph-rbearing fc))))
        (if (< dc-width fc-width)
            ;; The following glyph is wider, but we don't know how to
-           ;; align both glyphs.  So, try the easiet method;
+           ;; align both glyphs.  So, try the easiest method;
            ;; i.e. align left edges of the glyphs.
            (setq xoff (- xoff (- dc-width) (- (lglyph-lbearing fc )))
                  width (- fc-width dc-width)))
@@ -838,6 +838,7 @@ omitted or nil.
 
 For more information on Auto Composition mode, see
 `auto-composition-mode' ."
+  :global t
   :variable (default-value 'auto-composition-mode))
 
 (defalias 'toggle-auto-composition 'auto-composition-mode)