1. 03 Jan, 2014 1 commit
    • Chong Yidong's avatar
      Remove the dynamic-docstring-function feature. · 0d53f628
      Chong Yidong authored
      * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
      Ignore function-documentation property when getting documentation.
      (ad-activate-advised-definition): Use function-documentation
      generate the docstring.
      (ad-make-advised-definition): Don't call
      (ad-make-advised-definition-docstring, ad-advised-definition-p):
      Delete functions.
      * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
      (advice--docstring): Delete variable.
      (advice--make-1): Leave the docstring empty.
      (advice-add): Use function-documentation for advised docstring.
      * progmodes/sql.el (sql-help): Use function-documentation instead
      of dynamic-docstring-function property.  No need to autoload now.
      (sql--help-docstring): New variable.
      (sql--make-help-docstring): Use it.
      * doc.c (Fdocumentation): Remove dynamic-docstring-function.
  2. 02 Jan, 2014 1 commit
  3. 01 Jan, 2014 1 commit
  4. 31 Dec, 2013 1 commit
  5. 29 Dec, 2013 1 commit
    • Paul Eggert's avatar
      Plain copy-file no longer chmods an existing destination. · a560b856
      Paul Eggert authored
      * doc/lispref/files.texi (Changing Files): Document this.
      * etc/NEWS: Document this.
      * src/fileio.c (realmask): Now a static var, not a local.
      (barf_or_query_if_file_exists): New arg KNOWN_TO_EXIST.
      Remove arg STATPTR.  All uses changed.
      (Fcopy_file): Do not alter permissions of existing destinations,
      unless PRESERVE-PERMISSIONS (renamed from
      Avoid race when testing for existing destinations and for
      when input and output files are the same.
      If changing the group fails, adjust both default and
      preserved permissions so that access is not granted to the
      wrong group.
      (Fset_default_file_modes, init_fileio): Update realmask.
      (Fdefault_file_modes): Use realmask instead of calling umask.
      Fixes: debbugs:16133
  6. 28 Dec, 2013 1 commit
    • Chong Yidong's avatar
      Doc updates · 4364185f
      Chong Yidong authored
      * buffers.texi (Modification Time): Document visited-file-modtime change.
      * modes.texi (Auto Major Mode): Document interpreter-mode-alist change.
  7. 27 Dec, 2013 2 commits
  8. 26 Dec, 2013 2 commits
    • João Távora's avatar
      Make Electric Pair mode smarter/more useful: · 3b8d5131
      João Távora authored
      * lisp/electric.el: Pairing/skipping helps preserve
        balance. Autobackspacing behaviour. Opens extra newlines between
        pairs. Skip whitespace before closing delimiters.
      * lisp/emacs-lisp/lisp-mode.el (lisp-mode-variables): Use new
      * test/automated/electric-tests.lisp: New file.
      * doc/emacs/programs.texi: Describe new features.
      * lisp/simple.el: Pass non-nil interactive arg to newline call inside
    • Chong Yidong's avatar
      Update doc for advice changes. · 2200a8c9
      Chong Yidong authored
      * doc/lispref/advice.texi (Advising Functions, Defining Advice):
      Special forms can no longer be advised.
      * lisp/emacs-lisp/advice.el: Update commentary.
  9. 25 Dec, 2013 2 commits
    • Chong Yidong's avatar
      Doc updates for several Emacs 24.4 changes. · c9352587
      Chong Yidong authored
      * doc/lispref/commands.texi (Event Input Misc): Document new arg to
      * doc/lispref/display.texi (Font Selection): Tweak example.
      * doc/lispref/keymaps.texi (Active Keymaps): Re-organize the text.
      (Searching Keymaps): Rewrite the pseudo-code for 24.4 changes.
      (Controlling Active Maps): Note that set-transient-map uses
      * doc/lispref/nonascii.texi (Specifying Coding Systems): Don't refer to
      (Lisp and Coding Systems): Describe emacs-mule return value in
      modern terms.
      * doc/lispref/tips.texi (Coding Conventions): Tweak the coding system tip;
      Emacs now uses utf-8 by default for Emacs Lisp source files.
      * doc/emacs/glossary.texi (Glossary): Define MULE in modern terms.
      * src/keyboard.c (Voverriding_terminal_local_map):
      (Voverriding_local_map): Doc fix.
      * src/keymap.c (Vemulation_mode_map_alists): Doc fix.
    • Chong Yidong's avatar
      Document `eval' changes. · 362397ed
      Chong Yidong authored
      * doc/lispref/eval.texi (Eval): Document the LEXICAL arg to eval.
      * doc/lispref/variables.texi (Variables, Void Variables): Use "scoping rule"
      terminology consistently.
      (Variable Scoping): Add index entries, and use "dynamic scope"
      terminology in place of "indefinite scope" to reduce confusion.
      (Lexical Binding): Document lexical environment format.
      (Using Lexical Binding): Add index entries for error messages.
  10. 24 Dec, 2013 1 commit
  11. 23 Dec, 2013 7 commits
  12. 22 Dec, 2013 14 commits
  13. 21 Dec, 2013 2 commits
    • Jan Djärv's avatar
      Customize ns-use-srgb-colorspace on OSX >= 10.7 to use sRGB. · 41cf3d11
      Jan Djärv authored
      * etc/NEWS: Mention ns-use-srgb-colorspace.
      * lisp/cus-start.el (all): Add ns-use-srgb-colorspace.
      * src/nsfns.m (Fxw_color_values): Use colorUsingDefaultColorSpace.
      * src/nsterm.h: Declare EmacsColor category.
      * src/nsterm.m (NSColor): Implement EmacsColor category.
      (ns_get_color): Use colorUsingDefaultColorSpace.
      (ns_get_color, ns_term_init): Use colorForEmacsRed.
    • Chong Yidong's avatar
      Re-organize NEWS. · 70c8f5ca
      Chong Yidong authored
  14. 20 Dec, 2013 4 commits
    • Juri Linkov's avatar
      * lisp/replace.el (read-regexp-defaults-function): New defcustom. · 24da7273
      Juri Linkov authored
      (read-regexp-suggestions): New function.
      (read-regexp): Use `read-regexp-defaults-function' to get default values.
      Use `read-regexp-suggestions'.  Add non-empty default to history
      for empty input.
      (occur-read-regexp-defaults-function): Remove function.
      (occur-read-primary-args): Use `regexp-history-last' instead of
      * lisp/hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
      (hi-lock-line-face-buffer, hi-lock-face-buffer)
      (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
      `hi-lock-read-regexp-defaults-function'.  Doc fix.
      (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
      with `find-tag-default-as-symbol-regexp'.  Doc fix.
      (hi-lock-read-regexp-defaults): Remove function.
      (hi-lock-regexp-okay): Add check for null.
      * lisp/progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
      the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.
      * lisp/subr.el (find-tag-default-as-symbol-regexp): New function.
      (find-tag-default-as-regexp): Move symbol regexp formatting to
      Fixes: debbugs:14405
    • Tassilo Horn's avatar
      Document that =, <, <=, >, >= now accept one or many arguments. · 3fbba716
      Tassilo Horn authored
      * doc/lispref/numbers.texi (numbers): Document that =, <, <=, >, >= now accept
      one or many arguments.
    • Bozhidar Batsov's avatar
      * lisp/emacs-lisp/subr-x.el: (string-remove-prefix): New function. · 3cbfb935
      Bozhidar Batsov authored
      (string-remove-suffix): New function.
    • Bozhidar Batsov's avatar