Glenn Morris
dd7426eaf3
* newcomment.el (comment-search-forward, comment-search-backward): Doc fix.
2013-06-18 13:57:56 -04:00
Leo Liu
a175bf337a
* newcomment.el (comment-search-backward): Revert last change.
...
* emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
* progmodes/octave.el (octave-mode): Set comment-use-global-state
to t. (Bug#14303)
Fixes: debbugs:14434 debbugs:14303
2013-06-07 19:48:28 +08:00
Leo Liu
42caeb895d
* newcomment.el (comment-search-backward): Stricter in finding
...
comment start.
* progmodes/octave.el (octave-comment-start): Remove the SPC char.
(octave-comment-start-skip): Properly anchored.
Fixes: debbugs:14303
2013-05-18 06:46:10 +08:00
Aaron S. Hawley
9fc9a531a5
Disambiguate function and variable references in docstrings.
...
* lisp/comint.el (comint-history-isearch-message): Fix ambiguous doc
string cross-reference(s).
* lisp/ffap.el (ffap-string-at-point-region, ffap-next)
(ffap-string-at-point, ffap-string-around)
(ffap-copy-string-as-kill, ffap-highlight-overlay)
(ffap-literally): Fix ambiguous doc string cross-reference(s).
* lisp/font-lock.el (font-lock-keywords-alist)
(font-lock-removed-keywords-alist): Fix ambiguous doc string
cross-reference(s).
* lisp/help-mode.el (help-xref-symbol-regexp): Add "call" as a hint for
a cross-reference to a function.
* lisp/info.el (Info-find-emacs-command-nodes): Fix ambiguous doc
string cross-reference(s).
* lisp/isearch.el (isearch-message-function, isearch-fail-pos): Fix
ambiguous doc string cross-reference(s).
* lisp/misearch.el (multi-isearch-next-buffer-function): Fix ambiguous
doc string cross-reference(s).
* lisp/newcomment.el (comment-box): Fix ambiguous doc string
cross-reference(s).
* lisp/printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
(pr-setting-database): Fix ambiguous doc string
cross-reference(s).
* lisp/ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
(ps-n-up-filling-database): Fix ambiguous doc string
cross-reference(s).
* lisp/server.el (server-buffer, server-log): Fix ambiguous doc string
cross-reference(s).
* lisp/simple.el (newline, delete-backward-char, delete-forward-char)
(minibuffer-history-isearch-message, kill-line, track-eol)
(temporary-goal-column): Fix ambiguous doc string
cross-reference(s).
* lisp/whitespace.el (whitespace-point)
(whitespace-font-lock-refontify, whitespace-bob-marker)
(whitespace-eob-marker): Fix ambiguous doc string
cross-reference(s).
* lisp/calc/calc.el (calc-highlight-selections-with-faces)
(calc-dispatch): Fix ambiguous doc string cross-reference(s).
* lisp/emacs-lisp/edebug.el (edebug-read, edebug-eval-defun): Fix
ambiguous doc string cross-reference(s).
* lisp/gnus/gnus-start.el (gnus-check-new-newsgroups): Fix ambiguous doc string
cross-reference(s).
* lisp/gnus/gnus-sum.el (gnus-summary-newsgroup-prefix): Fix ambiguous doc string
cross-reference(s).
* lisp/international/mule.el (add-to-coding-system-list): Fix ambiguous
doc string cross-reference(s).
* lisp/progmodes/cc-fonts.el (c-font-lock-keywords-3)
(c++-font-lock-keywords-3, objc-font-lock-keywords-3)
(java-font-lock-keywords-3, idl-font-lock-keywords-3)
(pike-font-lock-keywords-3): Fix ambiguous doc string
cross-reference(s).
* lisp/progmodes/compile.el (compile): Fix ambiguous doc string
cross-reference(s).
* lisp/progmodes/etags.el (tags-table-files)
(tags-table-files-function, tags-included-tables-function): Fix
ambiguous doc string cross-reference(s).
* lisp/progmodes/gdb-mi.el (gdb, gdb-setup-windows)
(gdb-restore-windows): Fix ambiguous doc string
cross-reference(s).
* lisp/textmodes/flyspell.el (flyspell-mark-duplications-flag)
(flyspell-default-deplacement-commands): Fix ambiguous doc string
cross-reference(s).
* lisp/textmodes/ispell.el (ispell-accept-output): Fix ambiguous doc
string cross-reference(s).
* lisp/textmodes/sgml-mode.el (html-tag-help): Fix ambiguous doc string
cross-reference(s).
* lisp/vc/compare-w.el (compare-ignore-whitespace)
(compare-ignore-case, compare-windows-dehighlight): Fix ambiguous
doc string cross-reference(s).
* lisp/vc/diff.el (diff): Fix ambiguous doc string cross-reference(s).
* src/insdel.c (Fcombine_after_change_execute, syms_of_insdel): Fix
ambiguous doc string cross-reference(s).
* src/keyboard.c (Fcommand_execute, syms_of_keyboard): Fix ambiguous
doc string cross-reference(s).
* src/window.c (Fwindow_point, syms_of_window): Fix ambiguous doc
string cross-reference(s).
Fixes: debbugs:12686
2013-01-11 18:08:55 -05:00
Paul Eggert
ab422c4d68
Update copyright notices for 2013.
2013-01-01 09:11:05 +00:00
Chong Yidong
608d9d7caf
* lisp/newcomment.el (comment-normalize-vars): Doc fix.
...
Fixes: debbugs:12583
2012-10-23 10:17:36 +08:00
Stefan Monnier
238f3a587a
* lisp/newcomment.el (comment-start-skip, comment-end-skip, comment-end):
...
Don't document nil as a useful value.
Fixes: debbugs:12583
2012-10-09 12:37:51 -04:00
Glenn Morris
d41b45329c
Revert incorrect doc fix from 2012-10-09T07:06:54Z!rgm@gnu.org
2012-10-09 09:30:12 -07:00
Glenn Morris
26b7725157
* lisp/newcomment.el (comment-normalize-vars): Doc fix (presumably).
2012-10-09 00:06:54 -07:00
Stefan Monnier
795b1482a9
* lisp/subr.el (read-passwd-map): Don't use `defconst'.
...
(read-passwd): Remove a few more potential sources of leaks.
Fixes: debbugs:12597
2012-10-07 15:48:02 -04:00
Glenn Morris
2a1e24765b
Replace version 24.2 with 24.3 where appropriate (hopefully)
2012-08-15 09:29:11 -07:00
Stefan Monnier
28be5ce7b0
* loadup.el: Preload newcomment.el.
...
* newcomment.el: Move autoload-only code to toplevel.
2012-05-07 16:48:41 -04:00
Glenn Morris
2311d8e5a6
Merge from pending; try to fix-up suboptimal ses ChangeLog.
2012-04-16 20:06:56 -07:00
Chong Yidong
fb7ada5f94
Remove * characters from the front of variable docstrings.
2012-04-09 21:05:48 +08:00
Stefan Monnier
699c782b76
Merge from trunk
2012-03-25 16:37:21 -04:00
Stefan Monnier
98fb480ee3
* lisp/newcomment.el (comment-inline-offset): Don't autoload.
...
(comment-choose-indent): Obey comment-inline-offset.
2012-03-25 14:41:06 -04:00
Philipp Haselwarter
8eb5d48f36
* lisp/newcomment.el (comment-inline-offset): New custom var.
...
(comment-indent): Use it.
Fixes: debbugs:11090
2012-03-25 14:37:24 -04:00
Stefan Monnier
b9d0879b49
* lisp/newcomment.el (comment-choose-indent): No space after BOL.
2012-03-22 22:46:31 -04:00
Chong Yidong
1339bf4302
* lisp/newcomment.el (comment-styles): Add autoload.
...
Fixes: debbugs:10868
2012-02-25 11:08:39 +08:00
Juanma Barranquero
3fe58f4f9c
lisp/newcomment.el (uncomment-region-default): Remove unused binding.
2012-02-21 15:48:13 +01:00
Lawrence Mitchell
eb864a71bd
* lisp/newcomment.el (uncomment-region-default): Don't leave extra space
...
when an arg is provided.
Fixes: debbugs:8150
2012-02-17 10:44:32 -05:00
Glenn Morris
acaf905b11
Add 2012 to FSF copyright years for Emacs files
2012-01-05 01:46:05 -08:00
Chong Yidong
d473dce830
Fix for uncommentin in Fundamental mode.
...
* newcomment.el (comment-normalize-vars): If prompting for
comment-start, set comment-start-skip too.
Fixes: debbugs:8424
2011-09-18 14:10:01 -04:00
Stefan Monnier
1b8b395447
* newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
2011-09-14 17:21:59 -04:00
Chong Yidong
bfbbace74b
* lisp/newcomment.el (comment-end-skip): Doc fix (Bug#8659).
2011-05-28 19:07:43 -04:00
Glenn Morris
f64049c602
* lisp/newcomment.el (comment-kill): Prefix "unused" local.
2011-05-11 09:37:03 -07:00
Stefan Monnier
ba83908c4b
Misc fixes, and use lexical-binding in more files.
...
* lisp/subr.el (letrec): New macro.
(with-wrapper-hook): Move from lisp/simple.el and don't use CL.
* simple.el (with-wrapper-hook): Move with-wrapper-hook to subr.el.
* lisp/help-fns.el (help-function-arglist): Handle subroutines as well.
(describe-variable): Use special-variable-p to filter completions.
* lisp/emacs-lisp/macroexp.el (macroexpand-all-1): Don't expand `declare'
in defmacros.
* lisp/emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
Handle `declare'.
* lisp/emacs-lisp/cl.el (pushnew): Silence unfixable warning.
* lisp/emacs-lisp/cl-macs.el (defstruct, define-compiler-macro):
Mark unused arg as unused.
* lisp/emacs-lisp/byte-opt.el (byte-optimize-lapcode): Use memq.
* lisp/emacs-lisp/autoload.el (make-autoload): Don't assume the macro's
first sexp is a list.
(autoload-generate-file-autoloads): Improve error message.
* lisp/emacs-lisp/advice.el (ad-arglist): Use help-function-arglist
to understand the new byte-code arg format.
* lisp/vc/smerge-mode.el:
* lisp/vc/log-view.el:
* lisp/vc/log-edit.el:
* lisp/vc/cvs-status.el:
* lisp/uniquify.el:
* lisp/textmodes/css-mode.el:
* lisp/textmodes/bibtex-style.el:
* lisp/reveal.el:
* lisp/newcomment.el:
* lisp/emacs-lisp/smie.el:
* lisp/abbrev.el: Use lexical-binding.
* src/eval.c (Fprog1, Fprog2): Simplify and use XCDR/XCAR.
(Fdefvar): Remove redundant SYMBOLP check.
(Ffunctionp): Don't signal an error for undefined aliases.
* doc/lispref/variables.texi (Converting to Lexical Binding): New node.
2011-03-11 15:04:22 -05:00
Glenn Morris
73b0cd5003
Convert consecutive FSF copyright years to ranges.
2011-01-24 20:08:28 -08:00
Glenn Morris
0d9f702fd0
Nuke arch-tags.
2011-01-15 15:16:57 -08:00
Stefan Monnier
6d3d611343
* lisp/vc/smerge-mode.el: Resolve comment conflicts more aggressively.
...
(smerge-resolve--normalize-re): New var.
(smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
(smerge-resolve): Use them.
* lisp/newcomment.el (comment-only-p): New function.
(comment-or-uncomment-region): Use it.
2011-01-14 13:10:15 -05:00
Stefan Monnier
77ab81d054
Merge from emacs-23
2011-01-14 12:18:41 -05:00
Glenn Morris
5df4f04cd3
Add 2011 to FSF/AIST copyright years.
2011-01-02 15:50:46 -08:00
Stefan Monnier
ee9355dcc8
* lisp/newcomment.el (comment-styles): Add docs to each style.
...
Improve docstring.
(comment-style): Use comment-styles's docs to describe values.
Fixes: debbugs:7509
2010-12-03 18:14:50 -05:00
Lars Magne Ingebrigtsen
23737b4aee
* newcomment.el (comment-dwim): Fix the intentation in the doc string.
2010-10-21 22:12:38 +02:00
Chong Yidong
266a86bd7f
Merge changes from emacs-23 branch
2010-09-23 15:00:31 -04:00
Stefan Monnier
c9805d2356
* lisp/newcomment.el (comment-normalize-vars): Better test validity of
...
comment-end-skip.
2010-09-21 15:09:22 +02:00
Chong Yidong
bd78fa1d54
Add "Package:" file headers to denote built-in packages.
2010-08-29 12:17:13 -04:00
Stefan Monnier
f0b7054e23
* lisp/newcomment.el (comment-add): Move comment to docstring.
2010-08-17 21:38:30 +02:00
Glenn Morris
114f9c9679
Add 2010 to copyright years.
2010-01-13 00:35:10 -08: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
Juanma Barranquero
32226619c5
Use called-interactively-p' instead of
interactive-p'.
2009-10-02 03:48:36 +00:00
Chong Yidong
707f4689ea
* newcomment.el (comment-region): Doc fix (Bug#3370).
2009-05-26 03:16:31 +00:00
Glenn Morris
ae940284fa
Add 2009 to copyright years.
2009-01-05 03:18:22 +00:00
Dan Nicolaescu
3976387b54
(comment-style): Default to `indent'. (Bug#1589)
2008-12-18 09:24:20 +00:00
Glenn Morris
eb3fa2cfcf
Switch to recommended form of GPLv3 permissions notice.
2008-05-06 08:06:51 +00:00
Stefan Monnier
33d71ec3b1
(comment-enter-backward): Be careful to restore point changed during narrowing.
2008-04-03 22:26:39 +00:00
Miles Bader
56388398e7
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1095
2008-03-10 00:49:47 +00:00
Stefan Monnier
bbcedd0514
(comment-kill): Docstring improvement.
2008-03-03 21:20:21 +00:00
Miles Bader
59ce725a3b
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
409cc4a3ea
Add 2008 to copyright years.
2008-01-07 02:45:14 +00:00