1. 27 Dec, 2013 1 commit
    • Chong Yidong's avatar
      More doc updates · 0f1d2934
      Chong Yidong authored
      * commands.texi (Reading One Event): Mention keyboard coding.
      
      * functions.texi (Function Cells):
      * eval.texi (Function Indirection): Update for the fact that
      symbol-function no longer signals an error.
      
      * keymaps.texi (Translation Keymaps, Translation Keymaps):
      * nonascii.texi (Terminal I/O Encoding): Copyedits.
      
      * data.c (Fsymbol_function): Doc fix.
      0f1d2934
  2. 26 Dec, 2013 1 commit
    • 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.
      2200a8c9
  3. 25 Dec, 2013 3 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
      input-pending-p.
      
      * 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
      overriding-terminal-local-map.
      
      * doc/lispref/nonascii.texi (Specifying Coding Systems): Don't refer to
      emacs-mule-dos.
      (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.
      c9352587
    • Tassilo Horn's avatar
      Rephrase lexical binding requirement sentence. · ff1c842a
      Tassilo Horn authored
      * doc/lispref/control.texi (Pattern matching case statement): Rephrase lexical
      binding requirement: the example needs it, not `pcase' itself.
      ff1c842a
    • 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.
      362397ed
  4. 24 Dec, 2013 1 commit
    • Tassilo Horn's avatar
      Fix missing arg in pcase example. · a9560047
      Tassilo Horn authored
      * doc/lispref/control.texi (Pattern matching case statement): Fix missing
      argument in simple expression language sample.  Add
      some sample programs written in that language.  Mention that
      `pcase' requires lexical binding.
      
      Fixes: debbugs:16238
      a9560047
  5. 23 Dec, 2013 5 commits
    • Xue Fuqiao's avatar
      Document `special-form-p' and `macrop'. · 2d778742
      Xue Fuqiao authored
      * doc/lispref/eval.texi (Special Forms): Document `special-form-p'.
      
      * doc/lispref/macros.texi (Simple Macro): Document `macrop'.
      2d778742
    • Xue Fuqiao's avatar
      Fix an argument of `copy-file'. · 882b0b86
      Xue Fuqiao authored
      * doc/lispref/files.texi (Changing Files): Fix an argument of `copy-file'.
      882b0b86
    • Xue Fuqiao's avatar
      Document TRIM in `split-string'. · 46291d11
      Xue Fuqiao authored
      * doc/lispref/strings.texi (Creating Strings): Document TRIM in
      `split-string'.
      46291d11
    • Chong Yidong's avatar
      Rename set-temporary-overlay-map -> set-transient-map · 8cd22a08
      Chong Yidong authored
      * lisp/subr.el (set-transient-map): Rename from
      set-temporary-overlay-map.  Doc fix.
      
      * lisp/face-remap.el (text-scale-adjust):
      * lisp/indent.el (indent-rigidly):
      * lisp/kmacro.el (kmacro-call-macro):
      * lisp/minibuffer.el (minibuffer-force-complete):
      * lisp/repeat.el (repeat):
      * lisp/simple.el (universal-argument--mode):
      * lisp/calendar/todo-mode.el (todo-insert-item--next-param):
      * lisp/progmodes/f90.el (f90-abbrev-start): Callers changed.
      
      * lisp/org/org.el (orgstruct-make-binding): Call set-transient-map
      instead of old name set-temporary-overlay-map.
      
      * doc/lispref/keymaps.texi (Controlling Active Maps): Renamed
      set-temporary-overlay-map to set-transient map.  Doc fixes.
      (Searching Keymaps): The transient keymap takes precedence.
      8cd22a08
    • Glenn Morris's avatar
      Some documenting of load-prefer-newer · aec3bf9f
      Glenn Morris authored
      * doc/lispref/loading.texi (How Programs Do Loading, Load Suffixes):
      Mention `load-prefer-newer'.
      
      * src/lread.c (Fload): Mention load-prefer-newer in doc.
      aec3bf9f
  6. 22 Dec, 2013 7 commits
  7. 21 Dec, 2013 1 commit
    • Chong Yidong's avatar
      Tweak C-x TAB behavior changes, and update docs. · 77221051
      Chong Yidong authored
      * lisp/indent.el (indent-rigidly-map): Add docstring, and move commands
      into named functions.
      (indent-rigidly-left, indent-rigidly-right)
      (indent-rigidly-left-to-tab-stop)
      (indent-rigidly-right-to-tab-stop): New functions.  Decide on
      indentation direction based on bidi direction, and accumulate
      sequential commands in a single undo boundary.
      (indent-rigidly--pop-undo): New utility function.
      
      * doc/emacs/indent.texi (Indentation Commands): Document C-x TAB changes.
      
      * doc/lispref/text.texi (Region Indent): Note the new interactive
      behavior of indent-rigidly.
      77221051
  8. 20 Dec, 2013 4 commits
  9. 18 Dec, 2013 2 commits
  10. 13 Dec, 2013 1 commit
    • Glenn Morris's avatar
      Unconditionally reset load-path after dumping · 06a4f110
      Glenn Morris authored
      * src/lread.c: (dump_path): Remove.
      (load-path-default): Remove `changed' argument.
      Do not set dump_path permanently.  Simplify.
      (init_lread): Simplify.
      (syms_of_lread): Remove dump_path.
      
      * lisp/loadup.el (load-path): Warn if site-load or site-init changes it.
      No more need to reset it when bootstrapping.
      
      * doc/lispref/internals.texi (Building Emacs):
      * doc/lispref/loading.texi (Library Search): Mention that site-load,
      site-init cannot change load-path.
      
      * INSTALL: No longer mention load-path and site-init/site-load.
      
      * etc/NEWS: Mention this.
      
      Fixes: debbugs:16107
      06a4f110
  11. 12 Dec, 2013 2 commits
    • Glenn Morris's avatar
      Generate info/dir from .texi files rather than .info files · b55e11bf
      Glenn Morris authored
      * Makefile.in (install-info): Handle missing info/dir.
      (info_dir_deps): New variable.
      (${srcdir}/info/dir): Depend on .texi files rather than .info files.
      (check-info): Update topics.
      
      * build-aux/make-info-dir: Use .texi files rather than .info files.
      Update topics.
      
      * doc/lispintro/emacs-lisp-intro.texi:
      * doc/lispref/elisp.texi:
      Tweak dircategory (all the others use "Emacs" + lower-case).
      b55e11bf
    • Glenn Morris's avatar
      Add support for auto-generating info/dir · f9405d87
      Glenn Morris authored
      * admin/update_autogen: Add option to generate info/dir.
      (Usage): Add -I.
      (info_flag): New variable.
      (-I): New option.
      (doc): Maybe check its status.
      (info_dir): New function.
      
      * admin/dir_top: New file.
      
      * doc/emacs/emacs.texi:
      * doc/lispintro/emacs-lisp-intro.texi:
      * doc/lispref/elisp.texi:
      * doc/misc/autotype.texi, doc/misc/cc-mode.texi, doc/misc/ediff.texi:
      * doc/misc/ert.texi, doc/misc/htmlfontify.texi, doc/misc/ido.texi:
      * doc/misc/octave-mode.texi, doc/misc/org.texi, doc/misc/srecode.texi:
      * doc/misc/todo-mode.texi, doc/misc/tramp.texi:
      Sync direntry with info/dir version.
      f9405d87
  12. 08 Dec, 2013 1 commit
    • Juanma Barranquero's avatar
      Fix typos in doc files (bug#16089). · 36291308
      Juanma Barranquero authored
      * emacs/msdog.texi (Windows Keyboard): Fix typo.
      
      * lispref/display.texi (Progress, Face Remapping):
      * lispref/processes.texi (Serial Ports):
      * lispref/windows.texi (Recombining Windows): Fix typos.
      
      * misc/dbus.texi (Properties and Annotations): Fix typo.
      36291308
  13. 04 Dec, 2013 1 commit
  14. 03 Dec, 2013 1 commit
    • Juri Linkov's avatar
      * lisp/window.el (display-buffer-no-window): New action function. · 9139632a
      Juri Linkov authored
      (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
      
      * lisp/simple.el (shell-command): Add window alist entry `allow-no-window'
      to `display-buffer'.
      (async-shell-command): Doc fix.
      
      * lisp/progmodes/compile.el (compilation-start): Rename window alist
      entry `no-display-ok' to `allow-no-window'.
      
      * doc/lispref/windows.texi (Choosing Window): Rename `no-display-ok' to
      `allow-no-window'.
      9139632a
  15. 30 Nov, 2013 1 commit
  16. 29 Nov, 2013 1 commit
  17. 27 Nov, 2013 1 commit
    • Glenn Morris's avatar
      Move runtime leim lisp files to lisp/leim directory · cb6c95a3
      Glenn Morris authored
      This allows us to reuse much of the lisp build and installation machinery,
      rather than duplicating it.
      
      * Makefile.in (abs_builddir, leimdir): Remove.
      (buildlisppath, SUBDIR, COPYDIR, COPYDESTS): No more leim directory.
      (epaths-force-w32): No longer set BLD.
      (leim): Remove.
      (install-arch-indep): No longer run or install leim.
      (mostlyclean, clean): No longer run leim rule.
      (bootstrap-clean): Change leim target.
      (maintainer-clean): Add leim.
      (check-declare): Remove leim.
      
      * README: Update for leim changes.
      
      * configure.ac (leimdir): Remove.
      (standardlisppath): No more leimdir.
      
      * make-dist: Update for files from leim/ now being in lisp/leim/.
      
      * doc/lispref/loading.texi (Library Search):
      * doc/lispref/os.texi (Startup Summary): No more leim directory.
      
      * leim/Makefile.in (leimdir): New variable.
      (TIT_GB, TIT_BIG5, MISC, changed.tit, changed.misc)
      (${leimdir}/leim-list.el, ${leimdir}/ja-dic/ja-dic.el):
      Generate in $leimdir.
      (all): Remove compilation, add ja-dic.
      (leim-list.el): Now PHONY.
      (setwins, compile-targets, compile-main, clean, mostlyclean)
      (extraclean): Remove.
      (bootstrap-clean): Delete all generated files.
      
      * leim/README: Update for moved leim/ directory.
      
      * leim/leim-ext.el (ucs-input-activate, hangul-input-method-activate):
      Remove manual autoloads; now in loaddefs.el.
      Disable byte-compile, version-control, autoloads in the output.
      
      * lisp/Makefile.in (setwins_for_subdirs): Skip leim/ directory.
      (compile-main): Depend on lisp/leim rule.
      (leim): New rule.
      
      * lisp/loadup.el: Move leim-list.el to leim/ subdirectory.
      
      * lisp/startup.el (normal-top-level): No more leim directory.
      
      * lisp/international/ja-dic-cnv.el (skkdic-convert):
      Disable version-control and autoloads in output files.
      * lisp/international/titdic-cnv.el (titdic-convert, miscdic-convert):
      Disable version-control and autoloads in output files.
      
      * lisp/leim/quail: Move here from ../leim.
      
      * lisp/leim/quail/hangul.el (hangul-input-method-activate):
      Add autoload cookie.
      (generated-autoload-load-name): Set file-local value.
      
      * lisp/leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
      (generated-autoload-load-name): Set file-local value.
      
      * nt/README.W32:
      * nt/addpm.c (env_vars):
      * nt/epaths.nt (PATH_LOADSEARCH, PATH_DUMPLOADSEARCH):
      * nt/paths.h (PATH_LOADSEARCH): No more leim directory.
      
      * src/Makefile.in (leimdir): Now in lisp source directory.
      ($(leimdir)/leim-list.el): Just use ../leim .
      
      * src/epaths.in (PATH_DUMPLOADSEARCH):
      
      * src/lread.c (load_path_default):
      
      * src/nsterm.m (ns_load_path): No more leim directory.
      
      * .bzrignore: Update for relocated leim files.
      cb6c95a3
  18. 26 Nov, 2013 1 commit
  19. 23 Nov, 2013 2 commits
    • Brian Jenkins's avatar
      Documentation for focus-in,out hooks (tiny change) · f6083c67
      Brian Jenkins authored
      * doc/lispref/frames.texi (Input Focus):
      * doc/lispref/hooks.texi (Standard Hooks):
      Mention focus-in-hook, focus-out-hook.
      
      * etc/NEWS: Copyedit.
      f6083c67
    • Glenn Morris's avatar
      Empty elements in EMACSLOADPATH now stand for the default · 17e0445b
      Glenn Morris authored
      * src/lread.c (load_path_check): Take path to check as argument.
      (load_path_default): New, split from init_lread.
      (init_lread): Move calc of default load-path to load_path_default.
      Empty elements in EMACSLOADPATH now stand for the default.
      (load-path): Doc fix.
      
      * src/emacs.c (decode_env_path): Add option to treat empty elements
      as nil rather than ".".
      
      * src/callproc.c (init_callproc_1, init_callproc):
      * src/image.c (Vx_bitmap_file_path):
      * src/lisp.h (decode_env_path):
      * lread.c (Vsource_directory):
      Update for new argument spec of decode_env_path.
      
      * leim/Makefile.in (RUN_EMACS): Empty EMACSLOADPATH rather than unsetting.
      
      * lisp/Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
      
      * test/automated/Makefile.in (emacs):
      Empty EMACSLOADPATH rather than unsetting.
      
      * doc/emacs/cmdargs.texi (General Variables):
      Empty elements in EMACSLOADPATH now mean the default load-path.
      
      * doc/lispref/loading.texi (Library Search):
      Empty elements in EMACSLOADPATH now mean the default load-path.
      
      * etc/NEWS: Mention this.
      
      Fixes: debbugs:12100
      17e0445b
  20. 22 Nov, 2013 1 commit
  21. 20 Nov, 2013 1 commit
  22. 19 Nov, 2013 1 commit
    • Xue Fuqiao's avatar
      Doc fixes. · a6e3a5d5
      Xue Fuqiao authored
      * lisp/filenotify.el (file-notify-add-watch): Refine doc string.
      
      * doc/lispref/os.texi (File Notifications): Add an index.
      
      * doc/lispref/loading.texi (Loading): Add an cross-reference.
      a6e3a5d5