Stefan Monnier
f58e0fd503
Reduce use of (require 'cl).
...
* admin/bzrmerge.el: Use cl-lib.
* leim/quail/hangul.el: Don't require CL.
* leim/quail/ipa.el: Use cl-lib.
* vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
* vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
* register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
* msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
* international/quail.el, info-xref.el, imenu.el, image-mode.el:
* font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
* battery.el, avoid.el, abbrev.el: Use cl-lib.
* vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
* vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
* jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
* emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
* calculator.el, autorevert.el, apropos.el: Don't require CL.
* emacs-bytecomp.el (byte-recompile-directory, display-call-tree)
(byte-compile-unfold-bcf, byte-compile-check-variable):
* emacs-byte-opt.el (byte-compile-trueconstp)
(byte-compile-nilconstp):
* emacs-autoload.el (make-autoload): Use pcase.
* face-remap.el (text-scale-adjust): Simplify pcase patterns.
2012-07-10 07:51:54 -04:00
Paul Eggert
48d1354eb8
Spelling fixes.
2012-06-17 01:53:31 -07:00
Chong Yidong
6175e34b61
Doc improvements for face remapping.
...
* face-remap.el (face-remap-add-relative, face-remap-set-base)
(buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
Doc fixes.
* doc/lispref/display.texi (Face Remapping): Minor clarification.
* doc/lispref/text.texi (Special Properties): Clarify the meaning of a
list of faces in the `face' property.
Fixes: debbugs:11225
2012-06-09 14:26:46 +08:00
Stefan Monnier
df96ab1e0a
Use set-temporary-overlay-map.
...
* lisp/repeat.el: Use lexical-binding.
(repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
(repeat-undo-count): Remove.
(repeat):
* lisp/progmodes/octave-mod.el (octave-abbrev-start):
* lisp/progmodes/f90.el (f90-abbrev-start):
* lisp/face-remap.el (text-scale-adjust):
* lisp/kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
2012-05-04 22:50:20 -04:00
Chong Yidong
fb5b8aca99
Updates to Display chapter of Lisp manual.
...
* doc/lispref/display.texi (The Echo Area): Add xref to Output Streams.
(Displaying Messages): Improve doc of message.
(Echo Area Customization, Invisible Text): Copyedits.
(Invisible Text): Mention that spec comparison is done with eq.
(Width): Improve doc of char-width.
(Faces): Recommend using symbol instead of string for face name.
Minor clarifications.
(Defining Faces): Copyedits. Update face example.
(Attribute Functions): Mark set-face-foreground etc as commands.
(Face Remapping): Mention text-scale-adjust. Clarify
face-remapping-alist and related docs.
(Face Functions): Don't document make-face or copy-face.
* lisp/faces.el (make-face, make-empty-face, copy-face):
* lisp/face-remap.el (face-remap-add-relative, face-remap-set-base):
Doc fixes.
* src/xfaces.c (Vface_remapping_alist): Doc fix.
2012-03-21 15:02:13 +08:00
Glenn Morris
e1ac4066d1
Minor-mode doc fixes for ARG behavior
...
* lisp/completion.el (dynamic-completion-mode):
* lisp/dirtrack.el (dirtrack-debug-mode):
* lisp/electric.el (electric-layout-mode):
* lisp/epa-mail.el (epa-mail-mode, epa-global-mail-mode):
* lisp/face-remap.el (text-scale-mode, buffer-face-mode):
* lisp/iimage.el (iimage-mode):
* lisp/image-mode.el (image-transform-mode):
* lisp/minibuffer.el (completion-in-region-mode):
* lisp/scroll-lock.el (scroll-lock-mode):
* lisp/simple.el (next-error-follow-minor-mode):
* lisp/tar-mode.el (tar-subfile-mode):
* lisp/tooltip.el (tooltip-mode):
* lisp/vcursor.el (vcursor-use-vcursor-map):
* lisp/wid-browse.el (widget-minor-mode):
* lisp/emulation/tpu-edt.el (tpu-edt-mode):
* lisp/emulation/tpu-extras.el (tpu-cursor-free-mode):
* lisp/international/iso-ascii.el (iso-ascii-mode):
* lisp/language/thai-util.el (thai-word-mode):
* lisp/mail/supercite.el (sc-minor-mode):
* lisp/net/goto-addr.el (goto-address-mode):
* lisp/net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
* lisp/progmodes/cwarn.el (cwarn-mode):
* lisp/progmodes/flymake.el (flymake-mode):
* lisp/progmodes/glasses.el (glasses-mode):
* lisp/progmodes/hideshow.el (hs-minor-mode):
* lisp/progmodes/pascal.el (pascal-outline-mode):
* lisp/textmodes/enriched.el (enriched-mode):
* lisp/vc/smerge-mode.el (smerge-mode):
Doc fixes (minor mode argument).
* etc/NEWS: Related markup.
2012-02-07 21:12:24 -05:00
Glenn Morris
acaf905b11
Add 2012 to FSF copyright years for Emacs files
2012-01-05 01:46:05 -08:00
Chong Yidong
06e21633a4
Fix minor mode docstrings for the new meaning of a nil ARG.
...
* abbrev.el (abbrev-mode):
* allout.el (allout-mode):
* autoinsert.el (auto-insert-mode):
* autoarg.el (autoarg-mode, autoarg-kp-mode):
* autorevert.el (auto-revert-mode, auto-revert-tail-mode)
(global-auto-revert-mode):
* battery.el (display-battery-mode):
* composite.el (global-auto-composition-mode)
(auto-composition-mode):
* delsel.el (delete-selection-mode):
* desktop.el (desktop-save-mode):
* dired-x.el (dired-omit-mode):
* dirtrack.el (dirtrack-mode):
* doc-view.el (doc-view-minor-mode):
* double.el (double-mode):
* electric.el (electric-indent-mode, electric-pair-mode):
* emacs-lock.el (emacs-lock-mode):
* epa-hook.el (auto-encryption-mode):
* follow.el (follow-mode):
* font-core.el (font-lock-mode):
* frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
* help.el (temp-buffer-resize-mode):
* hilit-chg.el (highlight-changes-mode)
(highlight-changes-visible-mode):
* hi-lock.el (hi-lock-mode):
* hl-line.el (hl-line-mode, global-hl-line-mode):
* icomplete.el (icomplete-mode):
* ido.el (ido-everywhere):
* image-file.el (auto-image-file-mode):
* image-mode.el (image-minor-mode):
* iswitchb.el (iswitchb-mode):
* jka-cmpr-hook.el (auto-compression-mode):
* linum.el (linum-mode):
* longlines.el (longlines-mode):
* master.el (master-mode):
* mb-depth.el (minibuffer-depth-indicate-mode):
* menu-bar.el (menu-bar-mode):
* minibuf-eldef.el (minibuffer-electric-default-mode):
* mouse-sel.el (mouse-sel-mode):
* msb.el (msb-mode):
* mwheel.el (mouse-wheel-mode):
* outline.el (outline-minor-mode):
* paren.el (show-paren-mode):
* recentf.el (recentf-mode):
* reveal.el (reveal-mode, global-reveal-mode):
* rfn-eshadow.el (file-name-shadow-mode):
* ruler-mode.el (ruler-mode):
* savehist.el (savehist-mode):
* scroll-all.el (scroll-all-mode):
* scroll-bar.el (scroll-bar-mode):
* server.el (server-mode):
* shell.el (shell-dirtrack-mode):
* simple.el (auto-fill-mode, transient-mark-mode)
(visual-line-mode, overwrite-mode, binary-overwrite-mode)
(line-number-mode, column-number-mode, size-indication-mode)
(auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
* strokes.el (strokes-mode):
* time.el (display-time-mode):
* t-mouse.el (gpm-mouse-mode):
* tool-bar.el (tool-bar-mode):
* tooltip.el (tooltip-mode):
* type-break.el (type-break-mode-line-message-mode)
(type-break-query-mode):
* view.el (view-mode):
* whitespace.el (whitespace-mode, whitespace-newline-mode)
(global-whitespace-mode, global-whitespace-newline-mode):
* xt-mouse.el (xterm-mouse-mode): Doc fix.
* emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Fix
autogenerated docstring.
2011-10-19 08:54:24 -04: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
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
Chong Yidong
0c382083b6
Merge changes from emacs-23
2010-10-24 17:36:09 -04:00
Kenichi Handa
52ce289046
face-remap.el (text-scale-adjust): Call read-event with a proper prompt.
2010-10-20 09:32:53 +09: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
114f9c9679
Add 2010 to copyright years.
2010-01-13 00:35:10 -08:00
Juanma Barranquero
32226619c5
Use called-interactively-p' instead of
interactive-p'.
2009-10-02 03:48:36 +00:00
Miles Bader
05fbc4a9f1
Add `text-scale-set' function
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1607
2009-06-23 08:27:58 +00:00
Glenn Morris
ae940284fa
Add 2009 to copyright years.
2009-01-05 03:18:22 +00:00
Juanma Barranquero
af09cfd7a9
* face-remap.el (text-scale-mode-step, buffer-face-mode-face):
...
* icomplete.el (icomplete-prospects-height):
* textmodes/bibtex.el (bibtex-cite-matcher-alist): Add :version tags.
2008-12-15 16:45:55 +00:00
Juanma Barranquero
16c1ddc2d5
* face-remap.el (text-scale-increase, text-scale-decrease)
...
(text-scale-adjust): Remove &optional keyword from the arg list;
the INC argument is not really optional, if the functions happen
to be called from elisp.
2008-10-27 10:37:41 +00:00
Miles Bader
fed7c4f5c9
(text-scale-adjust): Bind `echo-keystrokes' to nil.
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1273
2008-06-21 14:54:29 +00:00
Miles Bader
23b77eee7e
Fix autoload directives in lisp/face-remap.el
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1271
2008-06-21 06:51:23 +00:00
Miles Bader
2875c64678
Fix variable names in buffer-face-mode-invoke
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1263
2008-06-20 09:00:52 +00:00
Miles Bader
cece37cf09
Tweak interface of buffer-face-mode functions
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1262
2008-06-20 08:55:22 +00:00
Miles Bader
dced1efdff
Fix behavior of text-scale-increase when text-scale-mode is disabled
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1257
2008-06-19 02:17:16 +00:00
Miles Bader
d7ed971d66
Add buffer-face-mode
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1251
2008-06-17 11:27:51 +00:00
Miles Bader
d03d411d4a
Order multiple entries more cleverly in face-remap-add-relative
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1250
2008-06-17 11:27:36 +00:00
Miles Bader
e40a85cd56
Rename functions in lisp/face-remap.el
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1208
2008-06-05 02:42:55 +00:00
Miles Bader
15252ee9b2
Autoload variable-pitch-mode
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1206
2008-06-05 00:11:16 +00:00
Juanma Barranquero
12de509923
(variable-pitch-mode): Reflow docstrings.
...
(text-scale-mode, adjust-buffer-face-height): Fix typos in docstrings.
2008-06-04 11:14:07 +00:00
Miles Bader
56c73dec5c
Add adjust-buffer-face-height command
...
... and move face-height adjustment bindings into ctl-x-map using it.
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1203
2008-06-04 05:38:04 +00:00
Miles Bader
9d3d42fb74
Add lisp/face-remap.el and associated documentation
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1200
2008-06-03 11:05:52 +00:00