summaryrefslogtreecommitdiff
path: root/lisp/autorevert.el
Commit message (Collapse)AuthorAgeFilesLines
...
* Expunge "allow" + infinitive without direct object from source and doc.Alan Mackenzie2016-01-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do the same for "permit", "enable", and "prevent". * doc/emacs/mule.texi: * doc/lispref/control.texi: * doc/lispref/display.texi: * doc/lispref/frames.texi: * doc/lispref/functions.texi: * doc/lispref/nonascii.texi: * doc/lispref/streams.texi: * doc/lispref/windows.texi: * doc/misc/dbus.texi: * doc/misc/eww.texi: * doc/misc/flymake.texi: * doc/misc/octave-mode.texi: * doc/misc/org.texi: * doc/misc/reftex.texi: * doc/misc/tramp.texi: * doc/misc/wisent.texi: * etc/NEWS: * lisp/autorevert.el: * lisp/cedet/mode-local.el: * lisp/cedet/semantic/senator.el: * lisp/cedet/semantic/wisent.el: * lisp/dos-fns.el: * lisp/frameset.el: * lisp/gnus/gnus-agent.el: * lisp/gnus/mm-util.el: * lisp/international/characters.el: * lisp/ldefs-boot.el: * lisp/mail/mailclient.el: * lisp/man.el: * lisp/mh-e/mh-search.el: * lisp/net/tramp-cmds.el: * lisp/net/tramp-gvfs.el: * lisp/org/org-crypt.el: * lisp/org/org-element.el: * lisp/org/org-feed.el: * lisp/org/org.el: * lisp/org/ox-ascii.el: * lisp/org/ox-icalendar.el: * lisp/org/ox-publish.el: * lisp/org/ox.el: * lisp/play/gamegrid.el: * lisp/play/gomoku.el: * lisp/progmodes/antlr-mode.el: * lisp/progmodes/python.el: * lisp/progmodes/vhdl-mode.el: * lisp/strokes.el: * lisp/textmodes/ispell.el: * lisp/tree-widget.el: * lisp/vc/pcvs.el: * lisp/window.el: * src/lisp.h: * src/w32.c: * src/w32heap.c: * src/w32term.c: * src/window.c: * src/xfaces.c: Replace solecisms like "This allow to do something" with a correct alternative, such as "This allow you to do something", "This allows something to be done" or "This allows the doing of something".
* Update copyright year to 2016Paul Eggert2016-01-011-1/+1
| | | | Run admin/update-copyright.
* ; Cleanup of change log. Removed obsolete email addresses.Anders Lindgren2015-11-151-1/+1
|
* * lisp/autorevert.el (auto-revert-handler): Use vc-refresh-state.Stefan Monnier2015-10-281-1/+1
|
* Fall back to polling in autorevert when neededMichael Albinus2015-10-271-31/+48
| | | | | | | | | * lisp/autorevert.el (auto-revert-notify-handler): When a `stopped' event arrives from file notification, fall back to polling. * test/automated/file-notify-tests.el (file-notify-test03-autorevert): Extend test for polling when file notification ceases to work.
* Prefer directed to neutral quotesPaul Eggert2015-08-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prefer directed to neutral quotes in docstings and diagnostics. In docstrings, escape apostrophes that would otherwise be translated to curved quotes using the newer, simpler rules. * admin/unidata/unidata-gen.el (unidata-gen-table): * lisp/align.el (align-region): * lisp/allout.el (allout-mode, allout-solicit-alternate-bullet): * lisp/bookmark.el (bookmark-default-annotation-text): * lisp/calc/calc-aent.el (math-read-if, math-read-factor): * lisp/calc/calc-lang.el (math-read-giac-subscr) (math-read-math-subscr): * lisp/calc/calc-misc.el (report-calc-bug): * lisp/calc/calc-prog.el (calc-fix-token-name) (calc-read-parse-table-part): * lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules): * lisp/cedet/semantic/complete.el (semantic-displayor-show-request): * lisp/dabbrev.el (dabbrev-expand): * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine): * lisp/emacs-lisp/elint.el (elint-get-top-forms): * lisp/emacs-lisp/lisp-mnt.el (lm-verify): * lisp/emulation/viper-cmd.el (viper-toggle-search-style): * lisp/erc/erc-button.el (erc-nick-popup): * lisp/erc/erc.el (erc-cmd-LOAD, erc-handle-login): * lisp/eshell/em-dirs.el (eshell/cd): * lisp/eshell/em-glob.el (eshell-glob-regexp): * lisp/eshell/em-pred.el (eshell-parse-modifiers): * lisp/eshell/esh-arg.el (eshell-parse-arguments): * lisp/eshell/esh-opt.el (eshell-show-usage): * lisp/files-x.el (modify-file-local-variable): * lisp/filesets.el (filesets-add-buffer, filesets-remove-buffer) (filesets-update-pre010505): * lisp/find-cmd.el (find-generic, find-to-string): * lisp/gnus/auth-source.el (auth-source-netrc-parse-entries): * lisp/gnus/gnus-agent.el (gnus-agent-check-overview-buffer) (gnus-agent-fetch-headers): * lisp/gnus/gnus-int.el (gnus-start-news-server): * lisp/gnus/gnus-registry.el: (gnus-registry--split-fancy-with-parent-internal): * lisp/gnus/gnus-score.el (gnus-summary-increase-score): * lisp/gnus/gnus-start.el (gnus-convert-old-newsrc): * lisp/gnus/gnus-topic.el (gnus-topic-rename): * lisp/gnus/legacy-gnus-agent.el (gnus-agent-unlist-expire-days): * lisp/gnus/nnmairix.el (nnmairix-widget-create-query): * lisp/gnus/spam.el (spam-check-blackholes): * lisp/mail/feedmail.el (feedmail-run-the-queue): * lisp/mpc.el (mpc-playlist-rename): * lisp/net/ange-ftp.el (ange-ftp-shell-command): * lisp/net/mairix.el (mairix-widget-create-query): * lisp/net/tramp-cache.el: * lisp/obsolete/otodo-mode.el (todo-more-important-p): * lisp/obsolete/pgg-gpg.el (pgg-gpg-process-region): * lisp/obsolete/pgg-pgp.el (pgg-pgp-process-region): * lisp/obsolete/pgg-pgp5.el (pgg-pgp5-process-region): * lisp/org/ob-core.el (org-babel-goto-named-src-block) (org-babel-goto-named-result): * lisp/org/ob-fortran.el (org-babel-fortran-ensure-main-wrap): * lisp/org/ob-ref.el (org-babel-ref-resolve): * lisp/org/org-agenda.el (org-agenda-prepare): * lisp/org/org-bibtex.el (org-bibtex-fields): * lisp/org/org-clock.el (org-clock-notify-once-if-expired) (org-clock-resolve): * lisp/org/org-feed.el (org-feed-parse-atom-entry): * lisp/org/org-habit.el (org-habit-parse-todo): * lisp/org/org-mouse.el (org-mouse-popup-global-menu) (org-mouse-context-menu): * lisp/org/org-table.el (org-table-edit-formulas): * lisp/org/ox.el (org-export-async-start): * lisp/play/dunnet.el (dun-score, dun-help, dun-endgame-question) (dun-rooms, dun-endgame-questions): * lisp/progmodes/ada-mode.el (ada-goto-matching-start): * lisp/progmodes/ada-xref.el (ada-find-executable): * lisp/progmodes/antlr-mode.el (antlr-options-alists): * lisp/progmodes/flymake.el (flymake-parse-err-lines) (flymake-start-syntax-check-process): * lisp/progmodes/python.el (python-define-auxiliary-skeleton): * lisp/progmodes/sql.el (sql-comint): * lisp/progmodes/verilog-mode.el (verilog-load-file-at-point): * lisp/server.el (server-get-auth-key): * lisp/subr.el (version-to-list): * lisp/textmodes/reftex-ref.el (reftex-label): * lisp/textmodes/reftex-toc.el (reftex-toc-rename-label): * lisp/vc/ediff-diff.el (ediff-same-contents): * lisp/vc/vc-cvs.el (vc-cvs-mode-line-string): * test/automated/tramp-tests.el (tramp-test33-asynchronous-requests): Use directed rather than neutral quotes in diagnostics.
* Fix Bug#20943.Michael Albinus2015-07-161-58/+57
| | | | | | | | | | | * lisp/autorevert.el (auto-revert-handler): Do not check for `buffer-modified-p'. * lisp/files.el (buffer-stale--default-function): Check for `buffer-modified-p'. * test/automated/auto-revert-tests.el (auto-revert-test02-auto-revert-mode-dired): Adapt test.
* * lisp/autorevert.el: Use lexical-binding. Fix hook usage.Stefan Monnier2015-05-221-20/+17
| | | | | | | | | (global-auto-revert-ignore-buffer, auto-revert-notify-modified-p) (auto-revert-notify-watch-descriptor): Use defvar-local. (find-file-hook, auto-revert-tail-mode, ) (auto-revert-notify-add-watch): Use setq-local. (auto-revert-notify-add-watch): Don't call make-local-variable on kill-buffer-hook (bug#20601).
* * autorevert.el (auto-revert-notify-add-watch): fix handler installationFilipp Gunbin2015-03-041-29/+30
| | | | Fixes: bug#20000
* Support file notifications for dired auto-revertMichael Albinus2015-02-211-39/+45
| | | | | | * autorevert.el (auto-revert-notify-add-watch) (auto-revert-notify-handler, auto-revert-buffers): Handle also buffers without an associated file, like dired buffers.
* Install notification handlers when enabling the auto-revert modes.Dima Kogan2015-02-211-7/+4
| | | | | | | * autorevert.el (auto-revert-mode, auto-revert-tail-mode) (global-auto-revert-mode): Remove (let (auto-revert-use-notify) ... ) wrappers. Call (auto-revert-buffers) consequently in order to install handlers.
* auto-revert-mode can now revert immediately in response to a change eventDima Kogan2015-02-191-0/+36
| | | | | | | | | | Fixes: debbugs:18958 * autorevert.el (auto-revert-buffers-counter) (auto-revert-buffers-counter-lockedout): New variables. (auto-revert-buffers): Increase `auto-revert-buffers-counter'. (auto-revert-notify-handler): Apply `auto-revert-handler' if not suppressed by lockout.
* Update copyright year to 2015Paul Eggert2015-01-011-1/+1
| | | | Run admin/update-copyright.
* Fix auto-revert-tail-mode for remote filesFilipp Gunbin2014-12-291-9/+8
| | | | | | | Fixes: debbugs:19449 * autorevert.el (auto-revert-handler): Fix auto-revert-tail-mode for remote files (bug#19449)
* Doc updates for buffer-stale-function now applying to file buffers tooGlenn Morris2014-04-031-1/+1
| | | | | | | | | | | | * doc/emacs/arevert-xtra.texi (Supporting additional buffers): * doc/lispref/backups.texi (Reverting): Update for buffer-stale-function also applying to file-buffers. * lisp/autorevert.el (auto-revert-buffers): * lisp/files.el (buffer-stale--default-function) (buffer-stale-function, revert-buffer--default): Doc tweaks. * etc/NEWS: Related edits.
* Update copyright year to 2014 by running admin/update-copyright.Paul Eggert2014-01-011-1/+1
|
* Fix a thinko in last commit in autorevert.el.Eli Zaretskii2013-12-091-1/+1
| | | | | lisp/autorevert.el (auto-revert-notify-add-watch): Exclude symlinks from file notifications.
* * autorevert.el (auto-revert-notify-add-watch): Do not handle symlinked files.Michael Albinus2013-12-091-4/+6
|
* * lisp/autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since weStefan Monnier2013-09-121-1/+1
| | | | rely on cl-return.
* * lisp/autorevert.el (auto-revert-notify-handler): Explicitly ignoreStefan Monnier2013-09-041-23/+26
| | | | `deleted'. Don't drop errors silently.
* * lisp/files.el: Use lexical-binding.Stefan Monnier2013-08-011-6/+6
| | | | | | | | | | | | | | | (dir-locals-read-from-file): Remove unused `err' variable. (hack-dir-local-variables--warned-coding): New var. (hack-dir-local-variables): Use it to avoid repeated warnings. (make-backup-file-name--default-function): New function. (make-backup-file-name-function): Use it as default. (buffer-stale--default-function): New function. (buffer-stale-function): Use it as default. (revert-buffer-insert-file-contents--default-function): New function. (revert-buffer-insert-file-contents-function): Use it as default. (insert-directory): Avoid add-to-list. * lisp/autorevert.el (auto-revert-handler): Simplify. Use buffer-stale--default-function.
* * filenotify.el (file-notify-supported-p):Michael Albinus2013-07-241-5/+2
| | | | | | | | | | | | | | * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p): Remove functions. * autorevert.el (auto-revert-use-notify): (auto-revert-notify-add-watch): * net/tramp.el (tramp-file-name-for-operation): * net/tramp-adb.el (tramp-adb-file-name-handler-alist): * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): * net/tramp-sh.el (tramp-sh-file-name-handler-alist): * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Remove `file-notify-supported-p' entry.
* * filenotify.el (file-notify--library): Renamed fromMichael Albinus2013-07-181-11/+11
| | | | | | | | | | | | | | | | | | | | | | | `file-notify-support'. Do not autoload. Adapt all uses. (file-notify-supported-p): New defun. * autorevert.el (auto-revert-use-notify): Use `file-notify-supported-p' instead of `file-notify-support'. Adapt docstring. (auto-revert-notify-add-watch): Use `file-notify-supported-p'. * net/tramp.el (tramp-file-name-for-operation): Add `file-notify-supported-p'. * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p): New defun. (tramp-sh-file-name-handler-alist): Add it as handler for `file-notify-supported-p '. * net/tramp-adb.el (tramp-adb-file-name-handler-alist): * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add `ignore' as handler for `file-notify-*' functions.
* * filenotify.el: New package.Michael Albinus2013-07-041-104/+54
| | | | | | | | | | | | | | | | | | | | | * autorevert.el (top): Require filenotify.el. (auto-revert-notify-enabled): Remove. Use `file-notify-support' instead. (auto-revert-notify-rm-watch, auto-revert-notify-add-watch) (auto-revert-notify-handler): Use `file-notify-*' functions. * subr.el (file-notify-handle-event): Move function to filenotify.el. * net/tramp.el (tramp-file-name-for-operation): Handle `file-notify-add-watch' and `file-notify-rm-watch'. * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler for `file-notify-add-watch' and `file-notify-rm-watch'. (tramp-process-sentinel): Improve trace. (tramp-sh-handle-file-notify-add-watch) (tramp-sh-file-notify-process-filter) (tramp-sh-handle-file-notify-rm-watch) (tramp-get-remote-inotifywait): New defuns.
* * lisp/autorevert.el (auto-revert-notify-handler): Use memq.Stefan Monnier2013-06-051-5/+7
| | | | | | | Hide assertion failure. * lisp/skeleton.el: Use cl-lib. (skeleton-further-elements): Use defvar-local. (skeleton-insert): Use cl-progv.
* * configure.ac (file-notification): New option, replaces inotify option.Michael Albinus2013-06-031-17/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (HAVE_W32): Remove w32notify.o. (with_file_notification): Add checks for glib and w32. Adapt check for inotify. (Summary): Add entry for file notification. * autogen/config.in: Add entries for HAVE_GFILENOTIFY, HAVE_W32NOTIFY and USE_FILE_NOTIFY. * lisp/autorevert.el (auto-revert-notify-enabled) (auto-revert-notify-rm-watch, auto-revert-notify-add-watch) (auto-revert-notify-event-p, auto-revert-notify-event-file-name) (auto-revert-notify-handler): Handle also gfilenotify. * lisp/subr.el: (file-notify-handle-event): New defun. Replacing ... (inotify-event-p, inotify-handle-event, w32notify-handle-event): Removed. * src/Makefile.in (NOTIFY_OBJ): New variable. (base_obj): Replace inotify.o by $(NOTIFY_OBJ). * src/emacs.c (main): Use HAVE_W32NOTIFY to wrap respective code. Call syms_of_gfilenotify. * src/gfilenotify.c: New file. * src/keyboard.c (Qfile_notify): New variable. Replaces Qfile_inotify and Qfile_w32notify. (top): Wrap respective code by HAVE_GFILENOTIFY, HAVE_INOTIFY, HAVE_W32NOTIFY and USE_FILE_NOTIFY. * src/lisp.h: Declare syms_of_gfilenotify. * src/termhooks.h (e): Wrap enum by USE_FILE_NOTIFY.
* * autorevert.el (auto-revert-notify-add-watch)Michael Albinus2013-05-221-2/+4
| | | | | (auto-revert-notify-handler): Add `attrib' for the inotify case, it indicates changes in file modification time.
* * autorevert.el (auto-revert-mode, auto-revert-tail-mode)Michael Albinus2013-04-051-4/+7
| | | | | | (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to nil during initialization, in order not to miss changes since the file was opened. (Bug#14140)
* Fix bug #13725 with file notifications on MS-Windows.Eli Zaretskii2013-02-161-4/+5
| | | | | | lisp/autorevert.el (auto-revert-notify-add-watch): With 'w32notify', add watch for the file, not its parent directory, since w32notify sets up the watch for the directory internally.
* * autorevert.el (auto-revert-use-notify): Fix docstring.Michael Albinus2013-01-301-1/+1
|
* * autorevert.el (auto-revert-use-notify): UseMichael Albinus2013-01-291-0/+1
| | | | `custom-initialize-default' for initialization. (Bug#13583)
* * autorevert.el (auto-revert-handler): Notifications which resultMichael Albinus2013-01-271-11/+6
| | | | from a saved file shall not be taken into account. (Bug#13557)
* * autorevert.el (auto-revert-remote-files)Michael Albinus2013-01-251-64/+114
| | | | | | | | | | | | | | | | | | | | | | | (auto-revert-notify-exclude-dir-regexp): New defcustoms. (auto-revert-notify-enabled, auto-revert-use-notify) (auto-revert-notify-watch-descriptor-hash-list) (auto-revert-notify-modified-p, auto-revert-notify-event-p) (auto-revert-notify-event-descriptor) (auto-revert-notify-event-action) (auto-revert-notify-event-file-name): Doc fix. (global-auto-revert-mode): Reorder checks. (auto-revert-notify-rm-watch): Respect changed values of `auto-revert-notify-watch-descriptor-hash-list'. (auto-revert-notify-add-watch): Check for `auto-revert-notify-exclude-dir-regexp'. Adapt filters for `inotify-add-watch'. Watch `default-directory' instead of `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list' has a changed meaning now. (Bug#13540) (auto-revert-notify-handler): Change implementation wrt events returning from a directory. (auto-revert-handler): Reorder implementation for checks of remote files. (auto-revert-buffers): Fix parentheses error.
* * autorevert.el (auto-revert-notify-watch-descriptor): Make itMichael Albinus2013-01-171-0/+1
| | | | buffer local, again. This was lost with the fix on 2013-01-12.
* * autorevert.el (auto-revert-use-notify): In the :set function, doMichael Albinus2013-01-171-10/+13
| | | | | | | | | not modify `kill-buffer-hook'. (auto-revert-notify-rm-watch): Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'. (auto-revert-notify-add-watch): Do not call `auto-revert-notify-rm-watch', but add it to a buffer local `kill-buffer-hook'.
* * autorevert.el (auto-revert-notify-handler): Use `file-equal-p'.Michael Albinus2013-01-121-10/+7
|
* * autorevert.el (auto-revert-notify-watch-descriptor): Give itMichael Albinus2013-01-121-1/+1
| | | | `permanent-local' property.
* Fix filtering of file notification events in autorevert.el.Eli Zaretskii2013-01-121-4/+8
| | | | | | lisp/autorevert.el (auto-revert-notify-handler): Fix filtering of file notification by ACTION. For filtering by file name, compare only the non-directory part of the file name.
* * lisp/autorevert.el: Use cl-lib instead of cl.Stefan Monnier2013-01-111-8/+8
|
* Fix a scoping error.Michael Albinus2013-01-111-6/+6
|
* * autorevert.el (top): Require 'cl in order to pacify byte compiler.Michael Albinus2013-01-111-20/+62
| | | | | | | | | | | | | | (auto-revert-notify-rm-watch): Ignore errors. (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for inotify, and '(size last-write-time) for w32notify. Set buffer-local `auto-revert-use-notify' to nil when adding a file watch fails - this is a fallback to the file modification check. (auto-revert-notify-event-p, auto-revert-notify-event-descriptor) (auto-revert-notify-event-action) (auto-revert-notify-event-file-name): New defuns. (auto-revert-notify-handler): Use them. Implement first plausibility checks. (auto-revert-handler): Handle also `auto-revert-tail-mode'.
* Fix last commit in autorevert.el.Eli Zaretskii2013-01-111-2/+3
| | | | | | lisp/autorevert.el (auto-revert-notify-rm-watch) (auto-revert-notify-add-watch): Fix typos in w32notify function names.
* * autorevert.el (auto-revert-notify-enabled): Move up.Michael Albinus2013-01-101-13/+30
| | | | | | | | (auto-revert-use-notify): New defcustom. (auto-revert-mode, global-auto-revert-mode) (auto-revert-notify-add-watch, auto-revert-handler) (auto-revert-buffers): Use `auto-revert-use-notify' instead of `auto-revert-notify-enabled'.
* * autorevert.el: Add file watch support.Michael Albinus2013-01-101-7/+77
| | | | | | | | | | | | | (auto-revert-notify-enabled): New defconst. (auto-revert-notify-watch-descriptor-hash-list) (auto-revert-notify-watch-descriptor) (auto-revert-notify-modified-p): New defvars. (auto-revert-notify-rm-watch, auto-revert-notify-add-watch) (auto-revert-notify-handler): New defuns. (auto-revert-mode, global-auto-revert-mode): Remove file watches when mode is disabled. (auto-revert-handler): Check for `auto-revert-notify-modified-p'. (auto-revert-buffers): Add file watches for active buffers.
* Update copyright notices for 2013.Paul Eggert2013-01-011-1/+1
|
* Reduce use of (require 'cl).Stefan Monnier2012-07-101-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Tweaks to Customize interface. Set custom-reset-button-menu to t.Chong Yidong2012-04-221-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cus-edit.el (custom-commands, custom-reset-menu) (Custom-reset-standard): Tweak labels. (custom-reset-button-menu): Change default to t. (custom-buffer-create-internal): For the custom-reset-button-menu case, put the revert button first. (custom-group-subtitle): New face. (custom-group-value-create): Align docstring to a specific column. * wid-edit.el (widget-documentation-link-add): Don't handle indentation in this function. (widget-documentation-string-indent-to): New function. (widget-documentation-string-value-create): Use it. * autorevert.el (auto-revert): * epg-config.el (epg): * ibuffer.el (ibuffer): * mpc.el (mpc): * ses.el (ses): * eshell/eshell.el (eshell): * net/ange-ftp.el (ange-ftp): * progmodes/ebnf2ps.el (postscript): * progmodes/flymake.el (flymake): * progmodes/prolog.el (prolog): * progmodes/verilog-mode.el (verilog-mode): * progmodes/which-func.el (which-func): * textmodes/picture.el (picture): * textmodes/tildify.el (tildify): * vc/ediff.el (ediff): Tweak defgroups to improve presentation in customization buffers.
* Fix previous patch.Michael Albinus2012-03-111-5/+5
|
* * autorevert.el (auto-revert-handler): Ensure, thatMichael Albinus2012-03-111-1/+2
| | | | | file-readable-p is applied only for local files or in auto-revert-tail-mode.
* Add 2012 to FSF copyright years for Emacs filesGlenn Morris2012-01-051-1/+1
|