Commit graph

2812 commits

Author SHA1 Message Date
Stefan Monnier
f8ea0098d9 Fix duplicate entries in cedet's loaddefs.el files.
* emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
Should make most file-local generated-autoload-file unnecessary.
(print-readably): Silence warnings.
(autoload-find-destination): Take load-name as an arg to make sure
it's the same as the one that will be in the file.
(autoload-generate-file-autoloads): Adjust to above changes.
Try to make the dataflow a bit simpler.
2010-04-18 17:45:44 -04:00
Stefan Monnier
3b7e1d5fe9 (define-minor-mode): A nil argument to the minor mode turns the mode ON. 2010-04-12 21:03:04 -04:00
Eric S. Raymond
004f9b3f1b Get rid of several uses of the term 'master' in favor of equivalent verbiage
using "repository".  No code changes.
2010-04-09 13:19:53 -04:00
Stefan Monnier
e754e83b65 Fix some of the problems in defsubst* (bug#5728).
* emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
(cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
2010-04-08 15:59:46 -04:00
Eli Zaretskii
8e13db7799 Revert last change in batch-update-authors. 2010-04-03 12:04:46 +03:00
Eli Zaretskii
ef43a0f4b0 Fix bug in batch-update-authors. Add bidi to AUTHORS.
emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli Zaretskii.
 (batch-update-authors): Fix popping arguments from command line.
2010-04-03 11:59:36 +03:00
Stefan Monnier
e867cb5d30 Merge from `emacs-23'. 2010-03-24 14:02:56 -04:00
Juanma Barranquero
c8de140b34 Fix typos in docstrings.
* image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
  (image-dired-read-comment): Doc fix.

* json.el (json-object-type, json-array-type, json-key-type, json-false)
  (json-null, json-read-number):
* minibuffer.el (completion-in-region-functions):
* calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
  (cal-tex-cursor-week):
* emacs-lisp/trace.el (trace-function):
* eshell/em-basic.el (eshell/printnl):
* eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
  (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
* obsolete/levents.el (allocate-event, event-key, event-object)
  (event-point, event-process, event-timestamp, event-to-character)
  (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
* textmodes/reftex-vars.el (reftex-index-macros-builtin)
  (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
  (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
  (reftex-highlight-selection): Fix typos in docstrings.
2010-03-22 17:50:29 +01:00
Glenn Morris
c70815f186 * emacs-lisp/autoload.el (autoload-rubric): Doc fix. 2010-03-17 23:47:12 -07:00
Juri Linkov
88f4758e1c Fix keywords.
* finder.el (finder-compile-keywords): Replace `princ' with
`prin1' on a list of symbols interned from keyword strings.

* emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
a comma, then split keywords using a comma and optional whitespace.
Otherwise, split by whitespace.

* complete.el:
* face-remap.el:
* log-view.el:
* net/hmac-def.el:
* net/hmac-md5.el:
* net/netrc.el:
* progmodes/mixal-mode.el: Fix keywords.
2010-03-14 23:15:02 +02:00
Glenn Morris
eb123b1295 Close bug#4427.
* emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
* emacs-lisp/cl-loaddefs.el: Regenerate.
2010-03-11 19:19:17 -08:00
Chong Yidong
de3a1fe935 Fix more save-excursion warnings.
* textmodes/reftex-toc.el (reftex-toc-promote-prepare):
* emacs-lisp/elint.el (elint-add-required-env):
* cedet/semantic/db-find.el (semanticdb-find-translate-path-brutish-default):
* cedet/ede/make.el (ede-make-check-version):
* calendar/icalendar.el (icalendar--add-diary-entry):
* calc/calcalg2.el (math-tracing-integral): Use with-current-buffer instead of save-excursion.
2010-02-27 20:22:44 -05:00
Glenn Morris
b788a98d13 * emacs-lisp/authors.el (authors-renamed-files-alist):
Add entries for INSTALL.CVS.
2010-02-17 22:05:45 -08:00
Stefan Monnier
ad10faa16f (ad-compile-function): Fix last change. 2010-02-15 15:03:22 -05:00
Stefan Monnier
2b8c974a6f (ad-compile-function): Suppress byte-compiler warnings, since it is annoying
for the user to see them each time he runs the code.
2010-02-15 14:55:51 -05:00
Juanma Barranquero
fa5f7c5f63 Fix typos in docstrings.
* outline.el (outline-head-from-level):
* simple.el (with-wrapper-hook):
* cedet/ede.el (ede-run-target, project-delete-target)
  (project-dist-files, ede-name, ede-documentation, ede-parent-project)
  (ede-adebug-project, ede-adebug-project-parent)
  (ede-adebug-project-root):
* emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
  (elint-defun, elint-buffer-env, elint-top-form-logged)
  (elint-unbound-variable):
* textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
2010-02-14 18:28:10 +01:00
Glenn Morris
ac59f99d91 (aelement): Fix typo in previous. 2010-01-23 19:58:14 -08:00
Chong Yidong
02c6d0d0f2 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo (Bug#3541). 2010-01-23 18:05:16 -05:00
Chong Yidong
245e0fafb7 * emacs-lisp/assoc.el (aelement): Doc fix. 2010-01-23 17:46:32 -05:00
Chong Yidong
064eee0324 * emacs-lisp/assoc.el (aput, adelete, amake): Use lexical-let (Bug#5450). 2010-01-23 17:44:03 -05:00
Juanma Barranquero
db9e401b3b Fix typos in docstrings, error messages, etc. 2010-01-18 05:39:40 +01:00
Chong Yidong
bbdc98eff1 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274) 2010-01-16 16:20:43 -05:00
Chong Yidong
c7dc1ac114 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267). 2010-01-16 15:04:29 -05:00
Mario Lang
045b9da787 Mario Lang <mlang@delysid.org>: Remove some duplicated words.
* cedet/ede/cpp-root.el (ede-cpp-root-project):
* cedet/ede/files.el (ede-expand-filename):
* cedet/ede/simple.el (ede-simple-project):
* cedet/semantic/complete.el (semantic-complete-read-tag-engine)
(semantic-complete-inline-tag-engine):
* cedet/semantic/db-el.el (semanticdb-equivalent-mode):
* cedet/semantic/db-global.el (semanticdb-equivalent-mode):
* cedet/semantic/db-javascript.el (semanticdb-equivalent-mode):
* cedet/semantic/db.el (semanticdb-equivalent-mode):
* cedet/semantic/decorate/include.el (semantic-decoration-unknown-include-describe):
* cedet/semantic/idle.el (semantic-idle-work-for-one-buffer):
* emacs-lisp/chart.el (chart-translate-namezone):
* textmodes/artist.el (artist-compute-popup-menu-table):
Remove duplicated words in doc-strings.

* srecode/doc-cpp.srt, srecode/doc-default.srt:
* srecode/doc-java.srt: Remove duplicated words.

* ede.texi (ede-target):
* org.texi (Refiling notes): Remove duplicated words.
2010-01-15 18:51:50 -08:00
Juanma Barranquero
d1f18ec092 Fix typos in docstrings. 2010-01-14 19:59:31 +01:00
Juanma Barranquero
d77b5977da Update autoload checksums. 2010-01-13 13:34:53 +01:00
Glenn Morris
114f9c9679 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
Eli Zaretskii
af414f10d8 emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Make
the lines in the generated doc string shorter.  (Bug#4668)
2010-01-02 19:33:54 +02:00
Andreas Schwab
3616e0b970 (batch-update-autoloads): Only exclude
unconditionally preloaded files.
2009-12-17 00:21:47 +00:00
Glenn Morris
fe03f49a4a (emacs-lisp-mode-map): Standardize the capitalization of some menu entries. 2009-12-11 01:20:04 +00:00
Stefan Monnier
1c67aeaafb Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
* emacs-lisp/autoload.el (autoload-generate-file-autoloads):
Disregard autoload-excludes.
(update-directory-autoloads): Obey autoload-excludes here instead.
But don't store its contents in no-autoloads and remove entries that
refer to excludes files.
2009-12-10 08:46:54 +00:00
Stefan Monnier
51ef56c47f * minibuffer.el (completion-at-point-functions): New var.
(completion-at-point): New command.
* indent.el (indent-for-tab-command): Handle the new `complete' behavior.
* progmodes/python.el (python-mode-map): Use completion-at-point.
(python-completion-at-point): Rename from python-partial-symbol and
adjust for use in completion-at-point-functions.
(python-mode): Setup completion-at-point for Python completion.
* emacs-lisp/lisp.el (lisp-completion-at-point): New function
extracted from lisp-complete-symbol.
(lisp-complete-symbol): Use it.
* emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
setup completion-at-point for Elisp completion.
(emacs-lisp-mode-map, lisp-interaction-mode-map): Use completion-at-point.
* ielm.el (ielm-map): Use completion-at-point.
(inferior-emacs-lisp-mode): Setup completion-at-point for Elisp completion.
* progmodes/sym-comp.el: Move to...
* obsolete/sym-comp.el: Move from progmodes.
2009-12-07 20:06:26 +00:00
Glenn Morris
5fa9d1ecf4 Ulrich Mueller <ulm at gentoo.org>
(byte-compile-insert-header): Put the version number comment back on
its own line, for easier parsing by external tools.
2009-12-07 06:21:27 +00:00
Glenn Morris
3ab4308bab (byte-compile-save-excursion): Make message consistent with others (no
final period).
2009-12-01 03:14:02 +00:00
Stefan Monnier
62a258a71d (byte-compile-warning-types): New type `suspicious'.
(byte-compile-warnings): Use byte-compile-warning-types.
(byte-compile-save-excursion): Warn about use of set-buffer right
after save-excursion.
2009-11-27 22:03:04 +00:00
Kevin Ryde
f69c67b6f7 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Build
value with regexp-opt instead of explicit joining loop.  (My
Bug#4927.)
2009-11-24 23:13:55 +00:00
Kevin Ryde
4cf8971b40 * emacs-lisp/elint.el (elint-add-required-env): Better error message
when .el source file not found or other error.
2009-11-24 23:08:15 +00:00
Stefan Monnier
32fe5377a3 (list-load-path-shadows): Setup a major mode
for the displayed buffer (bug#4887).
2009-11-24 21:36:10 +00:00
Stefan Monnier
a185548b1c * abbrev.el (abbrev-with-wrapper-hook): (re)move...
* simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
* minibuffer.el (completion-in-region-functions): New hook.
(completion-in-region): New function.
* emacs-lisp/lisp.el (lisp-complete-symbol):
* pcomplete.el (pcomplete-std-complete): Use it.
2009-11-19 03:12:51 +00:00
Kevin Ryde
497de631d5 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
(lm-keywords-list): Allow comma-only separator like "foo,bar".
Ignore trailing spaces by omit-nulls to split-string (fixing
regression from Emacs 21 due to the incompatible split-string
change).  (Bug #4928.)
2009-11-16 22:59:09 +00:00
YAMAMOTO Mitsuharu
1e8571214b (byte-compile-output-file-form):
Quote doc string reference in defvaralias as it is not in special form.
(byte-compile-output-docform): Doc fix.
2009-11-16 04:06:12 +00:00
Glenn Morris
7d8ba25431 Regenerate autoloads. 2009-11-16 02:08:12 +00:00
Glenn Morris
a61344d684 (elint-standard-variables): Doc fix.
Add some comments related to #1063.
2009-11-14 19:57:09 +00:00
Glenn Morris
d501801e3a Shigeru Fukaya <shigeru.fukaya at gmail.com>
(elint-standard-variables): Add some variables defined in C that have
no doc-strings.  (Bug#1063)
2009-11-14 19:55:37 +00:00
Glenn Morris
0028351d98 (byte-compile-single-version): Remove, unused.
(baud-rate, byte-code-function-p)
(byte-compile-generate-emacs19-bytecodes, byte-compile-overwrite-file)
(byte-compiler-valid-options, byte-compiler-options-handler)
(byte-compile-and-load-file, byte-compile-buffer):
Remove commented-out code.
2009-11-14 04:23:18 +00:00
Dan Nicolaescu
76410c3e21 (define-compiler-macro): Purecopy the file name. 2009-11-12 06:48:03 +00:00
Dan Nicolaescu
aaa448c984 * widget.el (define-widget): Purecopy the docstring.
* international/mule-cmds.el (charset): Do not purecopy the
docstring here, define-widget does it.

* textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
* textmodes/bibtex-style.el (auto-mode-alist):
* progmodes/inf-lisp.el (inferior-lisp-prompt):
* progmodes/compile.el (compile-command):
* language/korea-util.el (default-korean-keyboard):
* international/mule-conf.el (file-coding-system-alist):
* emacs-lisp/eldoc.el (eldoc-minor-mode-string):
* tooltip.el (tooltip-frame-parameters):
* newcomment.el (comment-end, comment-padding):
* dired.el (dired-trivial-filenames):
* comint.el (comint-file-name-prefix): Purecopy initial values.
2009-11-11 19:24:20 +00:00
Dan Nicolaescu
2f7f4beee9 * progmodes/grep.el (grep-regexp-alist):
* international/mule-cmds.el (iso-2022-control-alist):
* emacs-lisp/timer.el (timer-duration-words):
* subr.el (version-separator, version-regexp-alist):
* minibuffer.el (completion-styles-alist):
* faces.el (face-attribute-name-alist, list-faces-sample-text):
Change defvars to defconsts.
2009-11-11 06:36:41 +00:00
Dan Nicolaescu
8b908da69e (define-minor-mode): Purecopy :lighter. 2009-11-11 06:17:07 +00:00
Dan Nicolaescu
04991a1c0d * net/eudc.el (eudc-tools-menu):
* international/mule-cmds.el (set-coding-system-map)
(mule-menu-keymap):
* emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
* vc-hooks.el (vc-menu-map): Use menu-bar-separator.
2009-11-11 06:06:43 +00:00