Juanma Barranquero
06b605171f
lisp/*.el: Lexical-binding cleanup.
2011-04-19 15:44:55 +02:00
Glenn Morris
015bea8f8f
outline.el fix for bug#7619.
...
It turns out the use of nil in the :type of outline regexp was for
very hysterical raisons. Prior to 2001-09-12T20:42:08Z!rms@gnu.org, the
default value was nil, then it was initialized afterwards.
Everywhere in the code assumes it cannot be nil, so no need to allow
that any more.
* lisp/outline.el (outline-regexp): No longer allow nil.
(outline-heading-end-regexp): Add safety predicate.
2011-03-04 00:40:00 -08:00
Glenn Morris
73b0cd5003
Convert consecutive FSF copyright years to ranges.
2011-01-24 20:08:28 -08:00
Glenn Morris
e9bffc61f2
Refill some copyright headers.
2011-01-15 18:21:30 -08:00
Glenn Morris
0d9f702fd0
Nuke arch-tags.
2011-01-15 15:16:57 -08: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
Glenn Morris
3226d6cacf
Remove some functions, variables and aliases obsolete since at least 21.1.
...
* doc/misc/misc.texi (Shell Mode): Remove reference to old function name.
* src/character.c (Fchar_bytes): Remove obsolete function.
(syms_of_character): Remove Schar_bytes.
* lisp/subr.el (char-bytes): Remove obsolete function.
* lisp/emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
* lisp/isearch.el (isearch-return-char): Remove obsolete function.
* lisp/mouse.el: No longer provide mldrag.
(mldrag-drag-mode-line, mldrag-drag-vertical-line):
Remove obsolete aliases.
* lisp/comint.el (comint-kill-output): Remove obsolete alias.
* lisp/shell.el: Comment fix.
* lisp/composite.el (decompose-composite-char): Remove obsolete function.
* lisp/ps-def.el (decompose-composite-char): Remove unused function.
* lisp/iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
* lisp/outline.el (outline-visible): Remove obsolete function.
* lisp/term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
* lisp/faces.el (internal-find-face, internal-get-face)
(frame-update-faces, frame-update-face-colors)
(x-frob-font-weight, x-frob-font-slant)
(internal-frob-font-weight, internal-frob-font-slant)
(x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
(x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
(x-make-font-bold-italic): Remove functions and aliases, obsolete
since Emacs 21.1.
* lisp/emulation/viper-util.el (viper-get-face):
* lisp/obsolete/lucid.el (find-face, get-face): Use facep.
* lisp/vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
Remove unused functions.
* lisp/vc/ediff-util.el (ediff-submit-report): Doc fix.
* etc/NEWS: Mention above changes.
2010-10-01 19:46:13 -07:00
Stefan Monnier
801ba3ba40
(hide-sublevels): Unfix the paren non-typo! (bug#5738).
2010-03-20 15:04:44 -04:00
Stefan Monnier
f430423d72
(hide-sublevels): Don't hide trailing newline (and fix paren typo).
2010-03-18 23:32:47 -04:00
Chong Yidong
eba5b4dd16
Reorganize Custom groups.
...
* cus-edit.el (processes): Remove from development group.
(oop, hypermedia): Delete group.
(net): New group.
* url/url-vars.el (url):
* net/browse-url.el (browse-url):
* net/xesam.el (xesam):
* net/tramp.el (tramp):
* net/goto-addr.el (goto-address):
* net/ange-ftp.el (ange-ftp): Put in net group.
* view.el (view): Remove from editing group.
* uniquify.el (uniquify): Put in files group.
* net/browse-url.el (browse-url):
* ps-print.el (postscript): Put in external group.
* cus-edit.el (outlines):
* textmodes/text-mode.el (text-mode-hook):
* textmodes/table.el (table):
* textmodes/picture.el (picture):
* outline.el (outlines): Put in wp group.
* nxml/nxml-mode.el (nxml): Remove from wp group.
* net/tramp-imap.el (tramp-imap): Put in tramp group.
* mail/metamail.el (metamail): Remove from hypermedia group.
* cus-edit.el (abbrev):
* whitespace.el (whitespace):
* vcursor.el (vcursor):
* reveal.el (reveal):
* hl-line.el (hl-line): Put in convenience group.
* epg-config.el (epg): Put in data group.
* emulation/pc-select.el (pc-select): Put in emulations group.
* calculator.el (calculator): Put in applications group.
* org/org.el (org): Remove from hypermedia group.
2010-03-12 12:47:22 -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
114f9c9679
Add 2010 to copyright years.
2010-01-13 00:35:10 -08:00
Glenn Morris
6dc3311d25
Define risky-local-variable property here rather than in files.el.
2009-08-26 03:07:25 +00:00
Chong Yidong
3d0dd8ff4a
* outline.el (hide-sublevels): Ensure that arguments are passed to
...
outline-flag-region in the correct order (Bug#3000).
2009-04-15 23:32:23 +00:00
Glenn Morris
ae940284fa
Add 2009 to copyright years.
2009-01-05 03:18:22 +00:00
Lute Kamstra
9201cc281b
* align.el:
...
* allout.el:
* apropos.el:
* arc-mode.el:
* autoinsert.el:
* avoid.el:
* battery.el:
* bookmark.el:
* buff-menu.el:
* calculator.el:
* chistory.el:
* cmuscheme.el:
* comint.el:
* compare-w.el:
* dabbrev.el:
* delim-col.el:
* desktop.el:
* diff-mode.el:
* diff.el:
* dired-aux.el:
* dired-x.el:
* dired.el:
* dos-vars.el:
* ediff-diff.el:
* ediff-help.el:
* ediff-init.el:
* ediff-merg.el:
* ediff-mult.el:
* ediff-ptch.el:
* ediff-vers.el:
* ediff-wind.el:
* ediff.el:
* emerge.el:
* facemenu.el:
* faces.el:
* ffap.el:
* filecache.el:
* find-dired.el:
* font-core.el:
* font-lock.el:
* forms.el:
* fringe.el:
* help-at-pt.el:
* hippie-exp.el:
* ido.el:
* image-file.el:
* imenu.el:
* indent.el:
* info.el:
* isearchb.el:
* iswitchb.el:
* jit-lock.el:
* jka-compr.el:
* log-edit.el:
* lpr.el:
* ls-lisp.el:
* man.el:
* menu-bar.el:
* midnight.el:
* mouse-sel.el:
* mouse.el:
* msb.el:
* outline.el:
* paren.el:
* pcmpl-cvs.el:
* pcmpl-gnu.el:
* pcomplete.el:
* pcvs-info.el:
* pcvs-parse.el:
* printing.el:
* ps-mule.el:
* ps-print.el:
* replace.el:
* ruler-mode.el:
* saveplace.el:
* sb-image.el:
* scroll-bar.el:
* sha1.el:
* shadowfile.el:
* shell.el:
* sort.el:
* speedbar.el:
* strokes.el:
* tempo.el:
* term.el:
* terminal.el:
* time-stamp.el:
* time.el:
* tree-widget.el:
* type-break.el:
* vc-cvs.el:
* vc-hg.el:
* vc-mcvs.el:
* vc-rcs.el:
* vc-sccs.el:
* vc.el:
* view.el:
* w32-vars.el:
* whitespace.el:
* wid-edit.el: Remove leading * from docstrings of defcustoms,
deffaces, defconsts and defuns.
2008-12-03 05:48:14 +00:00
Glenn Morris
eb3fa2cfcf
Switch to recommended form of GPLv3 permissions notice.
2008-05-06 08:06:51 +00:00
Juanma Barranquero
d79f734ed6
(outline-visible): Add WHEN to obsolescence declaration.
2008-04-18 10:30:56 +00:00
Dan Nicolaescu
799224fe61
* outline.el (outline-mode-menu-bar-map):
...
* log-view.el (log-view-mode-menu):
* log-edit.el (log-edit-menu): Add :help.
2008-04-09 06:15:13 +00:00
Dan Nicolaescu
7cd25617fe
* outline.el (outline-mode-menu-bar-map):
...
* term.el (terminal-signal-menu): Add :help.
* net/eudc.el (eudc-mode-map): Declare and define in one step.
(eudc-tail-menu, eudc-server-menu, eudc-tools-menu): Add :help.
* emacs-lisp/re-builder.el (reb-mode-map):
* textmodes/nroff-mode.el (nroff-mode-map): Add menus.
2008-04-04 22:45:01 +00:00
Martin Rudalics
d405bc15fc
(outline-up-heading): Fix check for top level to
...
avoid infinite looping in hide-other.
2008-01-21 19:48:56 +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
Miles Bader
1af74d06e5
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-875
2007-10-09 08:52:57 +00:00
Stefan Monnier
9c9344319e
(outline-4, outline-5, outline-7):
...
Move font-lock-builtin-face down from 4 to 7 to better keep the
progression of color brightness, and to better match Org-mode's faces.
2007-09-10 18:21:58 +00:00
Stefan Monnier
b7e5bc1c44
(outline-flag-region): Use front-advance.
2007-09-08 03:09:31 +00:00
Daniel Pfeiffer
550641d385
(outline-font-lock-levels): Comment out unused var.
...
(outline-font-lock-face): Wrap around face list to handle any nesting depth gracefully.
2007-08-30 21:43:41 +00:00
Glenn Morris
b4aa60262c
Switch license to GPLv3 or later.
2007-07-25 04:50:21 +00:00
Chong Yidong
29779b2d7b
* outline.el (outline-get-next-sibling): Clarify docstring.
...
(outline-get-last-sibling): Handle case where we are at the first
heading. Clarify docstring.
2007-04-13 01:17:51 +00:00
Stefan Monnier
8d683c8e16
(hide-sublevels): Keep empty last line, if available.
2007-02-19 18:48:58 +00:00
Eli Zaretskii
914f7ec3f5
(outline-promote, outline-demote): Doc fix. Rename the arg CHILDREN -> WHICH.
2007-01-27 18:47:55 +00:00
Glenn Morris
d7a0267c8d
Add 2007 to copyright years.
2007-01-21 03:53:13 +00:00
Eli Zaretskii
cf27cc8311
(outline-next-visible-heading): Fix the case with a header at end-of-file
...
with no final newline.
2006-12-22 22:57:15 +00:00
Kim F. Storm
203bef736b
(outline-isearch-open-invisible-function): New defvar.
...
(outline-flag-region): Use it if non-nil for isearch-open-invisible
overlay property instead of outline-isearch-open-invisible.
2006-12-17 00:48:26 +00:00
Richard M. Stallman
49bb7f019f
(outline-end-of-subtree): Don't leave an empty
...
line hidden as we would a real next heading.
2006-12-04 00:31:04 +00:00
Reiner Steib
631c8020a5
Move `safe-local-variable' declarations to the respective files.
2006-05-11 15:01:41 +00:00
Stefan Monnier
1e0e9b382c
(hide-sublevels): Provide better interactive default.
2006-03-06 04:49:42 +00:00
Thien-Thi Nguyen
aaef169dc6
Update years in copyright notice; nfc.
2006-02-06 15:23:23 +00:00
Richard M. Stallman
4af23f8151
Comment change.
2006-01-20 01:21:18 +00:00
Richard M. Stallman
d8b5b5d578
(hide-leaves): Don't call outline-end-of-heading.
...
Fixes bug reported in Nov 2005.
2006-01-19 17:51:38 +00:00
Stefan Monnier
d35b8a281b
(outline-mark-subtree): Activate the mark.
2005-10-04 20:54:26 +00:00
Juanma Barranquero
f63f87375c
(font-lock-warning-face): Add defvar.
2005-08-31 13:51:07 +00:00
Juri Linkov
c95502be04
(hide-entry, hide-leaves, outline-toggle-children):
...
Put outline-back-to-heading function call inside save-excursion.
2005-08-29 20:49:01 +00:00
Stefan Monnier
797d92ed1f
(outline-invent-heading): New fun.
...
(outline-promote, outline-demote): Use it.
(outline-move-subtree-down): Remove unused vars `re' and `txt'.
(outline-end-of-subtree): Remove unused var `opoint'.
2005-08-26 15:31:59 +00:00
Richard M. Stallman
20e3210fb7
(outline-promote): Try shortening the heading.
...
As last resort, read the heading to use.
(outline-demote): As last resort, read the heading to use.
2005-08-26 11:52:08 +00:00
Thien-Thi Nguyen
0d30b33766
Update years in copyright notice; nfc.
2005-08-06 22:13:43 +00:00
Lute Kamstra
086add1519
Update FSF's address.
2005-07-04 23:32:44 +00:00
Juanma Barranquero
7a5c82539d
(outlines): Finish `defgroup' description with period.
2005-07-04 02:56:16 +00:00
Lute Kamstra
1f2503a581
(outline-1, outline-2, outline-3, outline-4)
...
(outline-5, outline-6, outline-7, outline-8): Specify customization group.
2005-05-27 11:51:14 +00:00