1. 25 May, 2014 1 commit
  2. 01 Jan, 2014 1 commit
  3. 21 Dec, 2013 1 commit
    • Chong Yidong's avatar
      Doc fixes for face functions. · bacb0e77
      Chong Yidong authored
      * faces.el (face-spec-set):
      * cus-face.el (custom-theme-set-faces, custom-set-faces):
      * custom.el (defface): Doc fixes.
      
      Fixes: debbugs:16203
      bacb0e77
  4. 01 Jan, 2013 1 commit
  5. 25 Nov, 2012 1 commit
    • Chong Yidong's avatar
      Revamp face-spec-set to be more analogous to setq for faces. · 1c4f115d
      Chong Yidong authored
      * lisp/faces.el (face-spec-set): Change the third arg to specify
      whether this function is being called via defface, customize, or a
      third party.  Set the appropriate symbol properties.  Clear the
      override spec if setting via Custom.  Initialize face if necessary.
      (face-spec-recalc): Allow theme faces to completely replace the
      defface spec, in the same way as custom faces (Bug#8454).
      
      * lisp/cus-edit.el (custom-face-set, custom-face-mark-to-save)
      (custom-face-reset-saved, custom-face-mark-to-reset-standard):
      Simplify by using the new arg to face-spec-set.
      
      * lisp/cus-face.el (custom-declare-face): Move face initialization to
      face-spec-set.
      (custom-theme-set-faces): Don't initialize the face name here, as
      that is now done in face-spec-set.
      
      * lisp/emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
      reset face-override-spec too, and use custom-declare-face.
      
      Fixes: debbugs:4988
      1c4f115d
  6. 21 Aug, 2012 1 commit
  7. 17 Jun, 2012 1 commit
    • Alp Aker's avatar
      Implement wave-style variant of underlining. · 9b0e3eba
      Alp Aker authored
        * doc/lispref/display.texi: Document new face attribute.
        * lisp/cus-face.el (custom-face-attributes): Add wave-style underline
        attribute.
        * lisp/faces.el (set-face-attribute): Update docstring.
        * src/dispextern.h (face_underline_type): New enum.
        (face): Add field for underline type.
        * src/nsterm.m (ns_draw_underwave): New function.
        (ns_draw_text_decoration): Use it.
        * src/w32term.c (w32_restore_glyph_string_clip, w32_draw_underwave):
        New functions.
        (x_draw_glyph_string): Use them.
        * src/xfaces.c (Qline, Qwave): New Lisp objects.
        (check_lface_attrs, merge_face_ref)
        (Finternal_set_lisp_face_attribute, realize_x_face): Handle
        wave-style underline face attributes.
        * src/xterm.c (x_draw_underwave): New function.
        (x_draw_glyph_string): Use it.
      9b0e3eba
  8. 11 Jan, 2012 1 commit
  9. 05 Jan, 2012 1 commit
  10. 18 Jun, 2011 1 commit
  11. 08 May, 2011 1 commit
  12. 07 Apr, 2011 1 commit
  13. 25 Jan, 2011 1 commit
  14. 15 Jan, 2011 1 commit
  15. 02 Jan, 2011 1 commit
  16. 19 Oct, 2010 1 commit
    • Chong Yidong's avatar
      Revert 2010-10-18 change; use safe-functions instead. · 7fd8732d
      Chong Yidong authored
      * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
      Don't mark as safe.
      
      * custom.el (custom-theme-set-variables): Likewise.
      (load-theme): Add custom-theme-set-faces and
      custom-theme-set-variables to safe-functions while loading.
      (custom-enabled-themes): Mark as risky.
      7fd8732d
  17. 18 Oct, 2010 1 commit
    • Chong Yidong's avatar
      Use unsafep to check for theme safety. · e48eb343
      Chong Yidong authored
      * cus-face.el (custom-theme-set-faces): Mark as a safe function.
      
      * custom.el (custom-theme-set-variables): Mark as a safe function.
      (load-theme): Check forms using unsafep.
      e48eb343
  18. 14 Oct, 2010 1 commit
  19. 12 Oct, 2010 1 commit
    • Chong Yidong's avatar
      New interface for choosing Custom themes. · 6b09b5d1
      Chong Yidong authored
      * lisp/cus-edit.el (custom--initialize-widget-variables): New function.
      (Custom-mode): Use it.
      
      * lisp/cus-face.el (custom-theme-set-faces): Remove dead code.  Obey
      custom--inhibit-theme-enable.
      
      * lisp/cus-theme.el (describe-theme, customize-themes)
      (custom-theme-save): New commands.
      (custom-new-theme-mode-map): Bind C-x C-s.
      (custom-new-theme-mode): Use custom--initialize-widget-variables.
      (customize-create-theme): New optional arg THEME.
      (custom-theme-revert): Use it.
      (custom-theme-visit-theme): Remove dead code.
      (custom-theme-merge-theme): Use custom-available-themes.
      (custom-theme-write): Make interactive.
      (custom-theme-write): Use custom-theme-name-valid-p.
      (describe-theme-1, custom-theme-choose-revert)
      (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
      New funs.
      (custom-theme-allow-multiple-selections): New option.
      (custom-theme-choose-mode): New major mode.
      
      * lisp/custom.el (custom-theme-set-variables): Remove dead code.  Obey
      custom--inhibit-theme-enable.
      (custom--inhibit-theme-enable): New var.
      (provide-theme): Obey it.
      (load-theme): Replace load with manual read/eval, in order to
      check for correctness.  Use custom-theme-name-valid-p.
      (custom-theme-name-valid-p): New function.
      (custom-available-themes): Use it.
      
      * lisp/help-mode.el (help-theme-def, help-theme-edit): New buttons.
      6b09b5d1
  20. 29 Aug, 2010 1 commit
  21. 13 Jan, 2010 1 commit
  22. 06 Nov, 2009 1 commit
  23. 05 Jan, 2009 1 commit
  24. 27 Jul, 2008 1 commit
    • Dan Nicolaescu's avatar
      Remove support for Mac Carbon. · 9e2a2647
      Dan Nicolaescu authored
      * mactoolbox.c:
      * macterm.h:
      * macterm.c:
      * macselect.c:
      * macmenu.c:
      * macgui.h:
      * macfns.c:
      * mac.c: Remove file.
      * s/darwin.h:
      * m/intel386.h:
      * xfaces.c:
      * xdisp.c:
      * window.c:
      * tparam.c:
      * termhooks.h:
      * termcap.c:
      * term.c:
      * syssignal.h:
      * sysselect.h:
      * sysdep.c:
      * process.c:
      * lread.c:
      * lisp.h:
      * keyboard.c:
      * image.c:
      * fringe.c:
      * frame.h:
      * frame.c:
      * fontset.c:
      * font.h:
      * font.c:
      * fns.c:
      * fileio.c:
      * emacs.c:
      * dispnew.c:
      * dispextern.h:
      * config.in:
      * atimer.c:
      * Makefile.in: Remove code for Carbon
      
      * erc.el: Remove code for Carbon.
      
      Remove support for Mac Carbon.
      * term/mac-win.el: Remove file
      * international/mule-cmds.el:
      * version.el:
      * startup.el:
      * simple.el:
      * mwheel.el:
      * mouse.el:
      * loadup.el:
      * isearch.el:
      * info.el:
      * frame.el:
      * faces.el:
      * disp-table.el:
      * cus-start.el:
      * cus-face.el:
      * cus-edit.el:
      * Makefile.in: Remove code for Carbon.
      
      Remove support for Mac Carbon.
      * makefile.w32-in:
      * emacsclient.c: Remove code for Carbon.
      
      * PROBLEMS:
      * MACHINES: Remove mentions of Mac Carbon.
      
      * ns-emacs.texi:
      * faq.texi: Remove mentions of Mac Carbon.
      
      * os.texi:
      * frames.texi:
      * display.texi: Remove mentions of Mac Carbon.
      
      * xresources.texi: Remove mentions of Mac Carbon.
      
      * make-tarball.txt:
      * admin.el:
      * FOR-RELEASE:
      * CPP-DEFINES: Remove mentions of Mac Carbon.
      
      Remove support for Mac Carbon.
      * mac: Remove directory.
      * make-dist:
      * configure.in:
      * README:
      * Makefile.in:
      * INSTALL:  Remove code for Carbon.
      * configure: Regenerate.
      9e2a2647
  25. 15 Jul, 2008 1 commit
  26. 13 Jun, 2008 1 commit
  27. 14 May, 2008 1 commit
  28. 06 May, 2008 1 commit
  29. 10 Apr, 2008 1 commit
  30. 05 Apr, 2008 1 commit
  31. 14 Mar, 2008 1 commit
    • Dan Nicolaescu's avatar
      * faces.el (xw-defined-colors): · f31b1257
      Dan Nicolaescu authored
      * simple.el (widget-convert, shell-mode): Declare as functions
      instead of autoloading.
      
      * abbrev.el:
      * button.el:
      * cus-face.el:
      * ediff-hook.el:
      * emacs-lisp/backquote.el:
      * emacs-lisp/timer.el:
      * facemenu.el:
      * faces.el:
      * menu-bar.el:
      * simple.el:
      * subr.el:
      * textmodes/fill.el:
      * textmodes/paragraphs.el: Remove autoloads, redundant when the
      files are preloaded.
      f31b1257
  32. 07 Jan, 2008 1 commit
  33. 30 Dec, 2007 1 commit
  34. 17 Sep, 2007 1 commit
  35. 07 Sep, 2007 1 commit
  36. 25 Jul, 2007 1 commit
  37. 21 Jan, 2007 1 commit
  38. 06 Feb, 2006 1 commit
  39. 02 Jan, 2006 1 commit
    • Chong Yidong's avatar
      * custom.el: Move Custom Themes commentary to start of theme code. · d358aa10
      Chong Yidong authored
      	(custom-known-themes): Rename `standard' theme to `changed'.
      	(custom-push-theme): Caller no longer specifies what theme to use
      	when doing `reset'---the setting is simply removed from the theme.
      	Delete MODE from `theme-value' and `theme-settings' properties.
      	(custom-declare-theme): Ignore &rest args since we don't use them.
      
      	(custom-loaded-themes): Delete variable.
      	(custom-theme-load-themes, custom-theme-loaded-p)
      	(custom-theme-value): Delete functions.
      
      	(custom-declare-theme): Signal error on invalid theme names.
      	(provide-theme): custom-loaded-themes was deleted.
      	(load-theme): Load the file unconditionally.
      	(enable-theme): Call `load-theme' if theme is undefined.
      	(custom-enabled-themes): Only update value for successful loads.
      	(disable-theme): Complete from enabled themes when interactive.
      	(custom-variable-theme-value): Calculate theme value directly.
      
      	(custom-theme-reset-variables, custom-reset-variables): Mark as
      	XEmacs compatibility functions.  We don't actually use these.
      
      	* cus-edit.el (custom-variable-state-set): Use
      	custom-variable-theme-value instead of custom-theme-value.
      	(custom-face-state-set): Rename `standard' theme to `changed'.
      	(custom-save-variables, custom-save-faces): Delete unneeded
      	references to custom-reset-variables.
      	(custom-save-resets): Delete function.
      	(custom-save-variables, custom-save-faces): MODE argument deleted.
      	(custom-save-variables, custom-save-faces): Ignore theme values.
      
      	* cus-face.el (custom-theme-reset-faces): Mark as XEmacs
      	compatibility function.
      d358aa10
  40. 25 Nov, 2005 1 commit