1. 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
  2. 18 Dec, 2013 2 commits
  3. 30 Oct, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/subr.el (custom-declare-variable-early): Remove function. · 53b39e89
      Stefan Monnier authored
      (custom-declare-variable-list): Remove var.
      (error, user-error): Remove `while' loop.
      (read-quoted-char-radix, read-quoted-char): Move to simple.el.
      (user-emacs-directory-warning, locate-user-emacs-file):
      Move to files.el.
      * lisp/simple.el (read-quoted-char-radix, read-quoted-char):
      * lisp/files.el (user-emacs-directory-warning, locate-user-emacs-file):
      Move from subr.el.
      * lisp/custom.el (custom-declare-variable-list): Don't process
      custom-declare-variable-list.
      53b39e89
  4. 18 Sep, 2013 1 commit
    • Glenn Morris's avatar
      Silence some --without-x compilation warnings · e740f9d2
      Glenn Morris authored
      * custom.el (x-get-resource): Declare.
      
      * frame.el (x-display-grayscale-p): Declare.
      
      * simple.el (font-info): Declare.
      
      * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
      (fit-frame-to-buffer): Explicit error if --without-x.
      (mouse-autoselect-window-select): Silence compiler.
      e740f9d2
  5. 02 Aug, 2013 1 commit
    • Stefan Monnier's avatar
      Make defvar affect the default binding outside of any let. · a104f656
      Stefan Monnier authored
      * src/eval.c (default_toplevel_binding): New function.
      (Fdefvar): Use it.
      (unbind_to, backtrace_eval_unrewind): Do a bit of CSE simplification.
      (Fdefault_toplevel_value, Fset_default_toplevel_value): New subrs.
      (syms_of_eval): Export them.
      * src/data.c (Fdefault_value): Micro cleanup.
      * src/term.c (init_tty): Use "false".
      * lisp/custom.el (custom-initialize-default, custom-initialize-set)
      (custom-initialize-reset, custom-initialize-changed): Affect the
      toplevel-default-value (bug#6275, bug#14586).
      * lisp/emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
      for bug#6275.
      * test/automated/core-elisp-tests.el: New file.
      a104f656
  6. 20 Jun, 2013 1 commit
    • Juanma Barranquero's avatar
      lisp/(cus-edit,custom).el: Fix typos; use setq-local, string-match-p, looking-at-p. · d5b27848
      Juanma Barranquero authored
      * lisp/cus-edit.el:
        (custom-commands): Fix typos.
        (custom-display): Fix tooltip text.
        (custom-magic-alist, custom-filter-face-spec, custom-group-members):
        Fix typos in docstrings.
        (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
        (custom-unlispify-menu-entry, custom-magic-value-create)
        (custom-add-see-also, custom-group-value-create): Use ?\s.
        (custom-guess-type, customize-apropos, editable-field)
        (custom-face-value-create): Use `string-match-p'.
        (custom-save-variables, custom-save-faces): Use `looking-at-p'.
      
      * lisp/custom.el (custom-load-symbol): Use `string-match-p'.
      d5b27848
  7. 01 Jan, 2013 1 commit
  8. 24 Nov, 2012 1 commit
  9. 28 Sep, 2012 1 commit
  10. 18 Sep, 2012 1 commit
    • Chong Yidong's avatar
      Doc fixes for defface and friends. · ed1f0bd3
      Chong Yidong authored
      * lisp/cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
      
      * lisp/custom.el (defface): Doc fix.
      
      * doc/lispref/customize.texi (Customization): Define customization more
      carefully.
      (Common Keywords): Add xref to Constant Variables.
      
      * doc/lispref/display.texi (Faces): Discuss anonymous faces.
      (Face Attributes): Tweak intro.
      (Defining Faces): Move after the Face Attributes node.  Copyedits.
      (Displaying Faces): Describe role of inheritance.
      
      * doc/lispref/variables.texi (Defining Variables): Link to defcustom's node
      instead of the higher-level Customization chapter.
      
      Fixes: debbugs:11440
      ed1f0bd3
  11. 17 Sep, 2012 1 commit
    • Chong Yidong's avatar
      Update docstrings and comments to use "init file" terminology. · 865fe16f
      Chong Yidong authored
      * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
      * comint.el (comint-prompt-read-only):
      * custom.el (defcustom):
      * hi-lock.el (hi-lock-mode):
      * ibuffer.el (ibuffer-formats):
      * ielm.el (ielm-prompt-read-only):
      * novice.el (disable-command):
      * saveplace.el (toggle-save-place):
      * speedbar.el (speedbar-supported-extension-expressions):
      * startup.el (auto-save-list-file-prefix, init-file-user)
      (after-init-hook, inhibit-startup-echo-area-message):
      * strokes.el (strokes-help):
      * time-stamp.el (time-stamp):
      * calendar/calendar.el (calendar, diary-file):
      * calendar/diary-lib.el (diary-mail-entries, diary)
      (diary-list-entries-hook):
      * calendar/holidays.el (holidays, calendar-holidays):
      * calendar/lunar.el (lunar-phases):
      * calendar/solar.el (sunrise-sunset):
      * emulation/edt.el (edt-load-keys):
      * emulation/viper.el (viper-mode):
      * eshell/em-alias.el (eshell-command-aliases-list):
      * eshell/esh-util.el (eshell-convert-numeric-arguments):
      * international/ogonek.el (ogonek-information):
      * net/tramp-cmds.el (tramp-bug):
      * net/quickurl.el (quickurl-reread-hook-postfix):
      * play/decipher.el (decipher-font-lock-keywords):
      * progmodes/cc-styles.el (c-set-style):
      * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
      * progmodes/inf-lisp.el (inferior-lisp-prompt):
      * progmodes/octave-mod.el (octave-mode):
      * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
      * progmodes/verilog-mode.el (verilog-read-defines):
      * textmodes/two-column.el (2C-mode): Likewise.
      865fe16f
  12. 10 Sep, 2012 1 commit
  13. 09 Sep, 2012 1 commit
    • Chong Yidong's avatar
      Allow scrolling in y-or-n-p. · 011474aa
      Chong Yidong authored
      * lisp/replace.el (query-replace-map): Bind four new symbols for
      requesting window scrolling.
      
      * lisp/subr.el (y-or-n-p): Handle the window-scrolling bindings in
      query-replace-map.
      
      * lisp/custom.el (custom-theme-load-confirm): Use y-or-n-p.
      
      * lisp/window.el (scroll-other-window-down): Make the arg optional.
      
      * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
      since they are now in query-replace-map.
      
      * doc/lispref/minibuf.texi (Yes-or-No Queries): Document recentering and
      scrolling in y-or-n-p.  Remove gratuitous example.
      
      * doc/lispref/searching.texi (Search and Replace): Document window scrolling
      entries in query-replace-map.
      
      Fixes: debbugs:8948
      011474aa
  14. 15 Aug, 2012 1 commit
  15. 27 Jun, 2012 1 commit
  16. 18 May, 2012 1 commit
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to · b581bb5c
      Stefan Monnier authored
      their respective macro declarations.
      * lisp/skeleton.el (define-skeleton):
      * lisp/progmodes/compile.el (define-compilation-mode):
      * lisp/ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
      (define-ibuffer-filter):
      * lisp/emacs-lisp/generic.el (define-generic-mode):
      * lisp/emacs-lisp/easy-mmode.el (define-minor-mode)
      (define-globalized-minor-mode):
      * lisp/emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
      * lisp/emacs-lisp/byte-run.el (defsubst):
      * lisp/custom.el (deftheme): Add doc-string metadata.
      b581bb5c
  17. 03 May, 2012 1 commit
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/bytecomp.el · 2bd785a2
      Stefan Monnier authored
      (byte-compile-file-form-custom-declare-variable): Compile all elements,
      since cconv.el might have introduced :fun-body, internal-make-closure,
      and friends for bytecomp to handle.
      * lisp/custom.el (defcustom): Avoid ((λ ..) ..).
      
      Fixes: debbugs:11391
      2bd785a2
  18. 12 Apr, 2012 1 commit
    • Chong Yidong's avatar
      New Lisp manual nodes, Applying Customizations and Custom Themes. · 81927dd2
      Chong Yidong authored
      * doc/lispref/customize.texi (Applying Customizations):
      (Custom Themes): New nodes.
      
      * doc/lispref/display.texi (Defining Faces): Reference custom-set-faces.
      
      * doc/lispref/modes.texi (Defining Minor Modes, Defining Minor Modes):
      * doc/lispref/os.texi (Startup Summary): Copyedits.
      
      * doc/emacs/custom.texi (Creating Custom Themes): Add reference to Custom
      Themes node in Lisp manual.
      
      * lisp/custom.el (custom-theme-set-variables): Doc fix.
      81927dd2
  19. 09 Apr, 2012 1 commit
    • Chong Yidong's avatar
      Remove defining user variables via * in docstring. · b4d3bc10
      Chong Yidong authored
      * lisp/apropos.el (apropos-variable):
      * lisp/files-x.el (read-file-local-variable):
      * lisp/simple.el (set-variable):
      * lisp/woman.el (woman-mini-help):
      * lisp/emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
      
      * lisp/custom.el (custom-variable-p): Return nil for non-symbol
      arguments instead of signaling an error.
      (user-variable-p): Obsolete alias for custom-variable-p.
      
      * lisp/erc/erc.el (erc-cmd-SET): Call custom-variable-p instead of
      user-variable-p.
      
      * src/callint.c (Finteractive, Fcall_interactively):
      * src/minibuf.c (Fread_variable): Callers changed.
      
      * src/eval.c (Fuser_variable_p, user_variable_p_eh)
      (lisp_indirect_variable): Functions deleted.
      (Fdefvar): Caller changed.
      
      * doc/lispref/commands.texi (Interactive Codes):
      * doc/lispref/help.texi (Accessing Documentation):
      * doc/lispref/minibuf.texi (High-Level Completion): Callers changed.
      
      * doc/lispref/customize.texi (Variable Definitions): Remove user-variable-p.
      b4d3bc10
  20. 25 Mar, 2012 1 commit
    • Chong Yidong's avatar
      Fix interaction of load-theme with cust-theme.el. · 4125cb8b
      Chong Yidong authored
      * lisp/custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
      theme if it was previously enabled before (Bug#11031).
      
      * lisp/cus-theme.el (customize-create-theme, custom-theme-revert): Doc fixes.
      4125cb8b
  21. 22 Feb, 2012 1 commit
  22. 15 Feb, 2012 1 commit
    • Chong Yidong's avatar
      Doc updates for defvar, defconst, and defcustom. · c3a70e2b
      Chong Yidong authored
      * lisp/custom.el (defcustom): Doc fix; note use of defvar.
      
      * src/eval.c (Fdefvar, Fdefconst): Doc fix; note that the variable is
      marked as special.  Also, starting docstrings with * is obsolete.
      c3a70e2b
  23. 06 Feb, 2012 2 commits
  24. 05 Feb, 2012 1 commit
    • Chong Yidong's avatar
      Updates to Macros and Customization chapters of Lisp manual. · 03988c98
      Chong Yidong authored
      * doc/lispref/customize.texi (Common Keywords): Minor clarifications.
      Document custom-unlispify-remove-prefixes.
      (Variable Definitions): Backquotes in defcustom seem to work fine
      now.  Various other copyedits.
      
      * doc/lispref/macros.texi (Expansion): Minor clarification.
      (Backquote): Move node to eval.texi.
      (Defining Macros): Move an example from Backquote node.
      (Argument Evaluation): No need to mention Pascal.
      (Indenting Macros): Add xref to Defining Macros.
      
      * doc/lispref/eval.texi (Backquote): Move from macros.texi.
      
      * lisp/custom.el (defcustom): Doc fix.
      03988c98
  25. 29 Jan, 2012 1 commit
  26. 25 Jan, 2012 1 commit
  27. 11 Jan, 2012 1 commit
  28. 09 Jan, 2012 1 commit
  29. 05 Jan, 2012 2 commits
  30. 01 Oct, 2011 1 commit
  31. 08 Jul, 2011 1 commit
  32. 05 Jul, 2011 1 commit
  33. 03 Jul, 2011 1 commit
    • Chong Yidong's avatar
      Fix how custom themes handle faces, so the multi-tty/multi-frame case works. · 1485f4c0
      Chong Yidong authored
      * lisp/custom.el (custom-push-theme): Don't record faces in `changed'
      theme; this doesn't work correctly for per-frame face settings.
      (disable-theme): Use face-set-after-frame-default to reset faces.
      (custom--frame-color-default): New function.
      
      * lisp/frame.el (frame-background-mode, frame-set-background-mode):
      Moved from faces.el.
      (frame-default-terminal-background): New function.
      
      * src/xfaces.c (Finternal_merge_in_global_face): Modify the foreground
      and background color parameters if they have been changed.
      1485f4c0
  34. 02 Jul, 2011 1 commit
  35. 30 Jun, 2011 1 commit
    • Chong Yidong's avatar
      Avoid calling customize-save-variable during startup (Bug#8720). · 658d8eb8
      Chong Yidong authored
      * lisp/cus-edit.el (customize-push-and-save): New function.
      
      * lisp/files.el (hack-local-variables-confirm): Use it.
      
      * lisp/custom.el (load-theme): New arg NO-CONFIRM.  Use
      customize-push-and-save (Bug#8720).
      (custom-enabled-themes): Doc fix.
      
      * lisp/cus-theme.el (customize-create-theme)
      (custom-theme-merge-theme): Callers to load-theme changed.
      658d8eb8
  36. 25 Apr, 2011 1 commit
  37. 19 Apr, 2011 1 commit