1. 01 Dec, 2019 2 commits
    • João Távora's avatar
      Rework jit-lock-antiblink-grace after Stefan's comments · afa1f6d6
      João Távora authored
      * lisp/jit-lock.el (jit-lock--antiblink-l-b-p): Rename from
      jit-lock--antiblink-l-l-b.
      (jit-lock--antiblink-grace-timer): Add period to docstring.
      (jit-lock--antiblink-post-command): Rework after Stefan's
      comments.
      afa1f6d6
    • João Távora's avatar
      New jit-lock-antiblink-grace feature · de321180
      João Távora authored
      * lisp/jit-lock.el (jit-lock-antiblink-grace): New variable.
      (jit-lock--antiblink-grace-timer, jit-lock--antiblink-l-l-b)
      (jit-lock--antiblink-i-s-o-c): New helpers.
      (jit-lock-mode): Tweak post-command-hook and
      jit-lock-context-timer.
      (jit-lock--antiblink-post-command): New helper.
      de321180
  2. 01 Jan, 2019 1 commit
  3. 02 Jul, 2018 1 commit
    • John Shahid's avatar
      Optionally add argument description in minor mode DOC (bug#10754) · ee3e4323
      John Shahid authored
      Add a paragraph to minor mode's docstring documenting the mode's ARG
      usage if the supplied docstring doesn't already contain the word "ARG".
      
      * easy-mmode.el (easy-mmode--arg-docstring): New const.
      (easy-mmode--arg-docstring): New function.
      (define-minor-mode): Use them.
      
      Remove argument documentation from all minor modes.
      ee3e4323
  4. 01 Jan, 2018 1 commit
  5. 13 Sep, 2017 1 commit
    • Paul Eggert's avatar
      Prefer HTTPS to FTP and HTTP in documentation · bc511a64
      Paul Eggert authored
      Most of this change is to boilerplate commentary such as license URLs.
      This change was prompted by ftp://ftp.gnu.org's going-away party,
      planned for November.  Change these FTP URLs to https://ftp.gnu.org
      instead.  Make similar changes for URLs to other organizations moving
      away from FTP.  Also, change HTTP to HTTPS for URLs to gnu.org and
      fsf.org when this works, as this will further help defend against
      man-in-the-middle attacks (for this part I omitted the MS-DOS and
      MS-Windows sources and the test tarballs to keep the workload down).
      HTTPS is not fully working to lists.gnu.org so I left those URLs alone
      for now.
      bc511a64
  6. 01 Jan, 2017 1 commit
  7. 07 May, 2016 1 commit
  8. 29 Apr, 2016 1 commit
    • Lars Ingebrigtsen's avatar
      Warning fix in jit-lock-mode · 8f3a6de5
      Lars Ingebrigtsen authored
      * lisp/jit-lock.el (jit-lock-mode): Don't issue a warning when
      turning the mode on in an indirect buffer, if this somehow has
      happened (bug#17738).
      8f3a6de5
  9. 01 Jan, 2016 1 commit
  10. 18 Sep, 2015 1 commit
    • Stefan Monnier's avatar
      * lisp/font-lock.el (font-lock-beginning-of-syntax-function): Remove · 644c6b41
      Stefan Monnier authored
      (font-lock-fontify-block): Don't let-bind it.
      (font-lock-compile-keywords): Don't use it.
      (font-lock-set-defaults): Don't set it.  Allow the variable alist to
      start one slot earlier, instead.
      
      * lisp/emacs-lisp/syntax.el (font-lock-beginning-of-syntax-function):
      Don't declare.
      (syntax-ppss): Don't use it either.
      
      * lisp/font-core.el (font-lock-defaults): Remove SYNTAX-BEGIN
      from docstring.
      
      * doc/emacs/display.texi (Font Lock): Don't mention
      font-lock-beginning-of-syntax-function.
      
      * doc/lispref/modes.texi (Font Lock Basics): Update description of
      font-lock-defaults.
      (Syntactic Font Lock): Remove font-lock-beginning-of-syntax-function.
      
      * lisp/loadhist.el (unload-feature-special-hooks):
      Remove font-lock-beginning-of-syntax-function.
      
      * lisp/obsolete/lazy-lock.el (lazy-lock-fontify-region):
      * lisp/emacs-lisp/lisp.el (beginning-of-defun-raw): Don't let-bind
      font-lock-beginning-of-syntax-function.
      644c6b41
  11. 12 Sep, 2015 1 commit
  12. 05 Apr, 2015 1 commit
  13. 04 Apr, 2015 1 commit
  14. 31 Mar, 2015 3 commits
  15. 01 Jan, 2015 2 commits
  16. 16 Dec, 2014 1 commit
  17. 04 Nov, 2014 1 commit
  18. 29 May, 2014 1 commit
    • Stefan Monnier's avatar
      * lisp/font-lock.el (font-lock-flush, font-lock-ensure): New functions. · 6711a21f
      Stefan Monnier authored
      (font-lock-fontify-buffer): Mark interactive-only.
      (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
      Make buffer-local.
      (font-lock-specified-p): Remove redundant boundp check.
      (font-lock-flush-function, font-lock-ensure-function): New vars.
      (font-lock-turn-on-thing-lock): Set them.
      (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
      (font-lock-after-change-function): Make `old-len' optional.
      (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
      Call font-lock-flush, just in case.
      * lisp/progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
      recent Emacsen.
      * lisp/progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
      (vera-mode-map, vera-mode-menu): Remove bindings to it.
      * lisp/progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
      and with-syntax-table.
      * lisp/textmodes/conf-mode.el (conf-quote-normal):
      * lisp/progmodes/sh-script.el (sh-set-shell):
      * lisp/progmodes/prog-mode.el (prettify-symbols-mode):
      * lisp/progmodes/f90.el (f90-font-lock-n):
      * lisp/progmodes/cwarn.el (cwarn-mode):
      * lisp/nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
      * lisp/progmodes/compile.el (compilation-setup, compilation--unsetup):
      * lisp/hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
      (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
      * lisp/mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
      font-lock-fontify-buffer-function and
      font-lock-unfontify-buffer-function.
      (rmail-unfontify-buffer-function, rmail-fontify-message):
      Use with-silent-modifications.
      * lisp/htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
      and font-lock-ensure.
      * lisp/bs.el (bs-show-in-buffer): Use font-lock-ensure.
      * lisp/gnus/mm-view.el (mm-display-inline-fontify): Use font-lock-ensure.
      * lisp/gnus/gnus-cite.el (gnus-message-citation-mode): Use font-lock-flush.
      * lisp/org/org-compat.el (org-font-lock-ensure): New function.
      * lisp/org/ox-odt.el (org-odt-do-format-code):
      * lisp/org/ox-html.el (org-html-fontify-code):
      * lisp/org/org.el (org-fontify-like-in-org-mode):
      * lisp/org/org-src.el (org-src-font-lock-fontify-block):
      * lisp/org/org-clock.el (org-clock-get-clocktable): Use it.
      * lisp/org/ox-org.el (org-org-publish-to-org): Use it.  Avoid using find-file
      from Elisp.
      * test/automated/ruby-mode-tests.el (ruby-assert-face): Use font-lock-ensure.
      (ruby-interpolation-keeps-non-quote-syntax): Use syntax-propertize.
      6711a21f
  19. 13 Feb, 2014 2 commits
  20. 10 Feb, 2014 1 commit
  21. 01 Jan, 2014 1 commit
  22. 05 Aug, 2013 1 commit
    • Dmitry Antipov's avatar
      Do not call to `selected-window' where it is assumed by default. · 290d5b58
      Dmitry Antipov authored
      Affected functions are `window-minibuffer-p', `window-dedicated-p',
      `window-hscroll', `window-width', `window-height', `window-buffer',
      `window-frame', `window-start', `window-point', `next-window'
      and `window-display-table'.
      * abbrev.el (abbrev--default-expand):
      * bs.el (bs--show-with-configuration):
      * buff-menu.el (Buffer-menu-mouse-select):
      * calc/calc.el (calc):
      * calendar/calendar.el (calendar-generate-window):
      * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
      (diary-make-entry):
      * comint.el (send-invisible, comint-dynamic-complete-filename)
      (comint-dynamic-simple-complete, comint-dynamic-list-completions):
      * completion.el (complete):
      * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
      * disp-table.el (describe-current-display-table):
      * doc-view.el (doc-view-insert-image):
      * ebuff-menu.el (Electric-buffer-menu-mouse-select):
      * ehelp.el (with-electric-help):
      * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
      * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
      * emacs-lisp/helper.el (Helper-help-scroller):
      * emulation/cua-base.el (cua--post-command-handler-1):
      * eshell/esh-mode.el (eshell-output-filter):
      * ffap.el (ffap-gnus-wrapper):
      * help-macro.el (make-help-screen):
      * hilit-chg.el (highlight-compare-buffers):
      * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
      * hl-line.el (global-hl-line-highlight):
      * icomplete.el (icomplete-simple-completing-p):
      * isearch.el (isearch-done):
      * jit-lock.el (jit-lock-stealth-fontify):
      * mail/rmailsum.el (rmail-summary-scroll-msg-up):
      * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
      * mpc.el (mpc-tagbrowser, mpc):
      * net/rcirc.el (rcirc-any-buffer):
      * play/gomoku.el (gomoku-max-width, gomoku-max-height):
      * play/landmark.el (landmark-max-width, landmark-max-height):
      * play/zone.el (zone):
      * progmodes/compile.el (compilation-goto-locus):
      * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
      * progmodes/etags.el (find-tag-other-window):
      * progmodes/fortran.el (fortran-column-ruler):
      * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
      * progmodes/verilog-mode.el (verilog-point-text):
      * reposition.el (reposition-window):
      * rot13.el (toggle-rot13-mode):
      * server.el (server-switch-buffer):
      * shell.el (shell-dynamic-complete-command)
      (shell-dynamic-complete-environment-variable):
      * simple.el (insert-buffer, set-selective-display)
      (delete-completion-window):
      * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
      (speedbar-recenter):
      * startup.el (fancy-splash-head):
      * textmodes/ispell.el (ispell-command-loop):
      * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
      * tutorial.el (help-with-tutorial):
      * vc/add-log.el (add-change-log-entry):
      * vc/compare-w.el (compare-windows):
      * vc/ediff-help.el (ediff-indent-help-message):
      * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
      * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
      (ediff-setup-control-frame):
      * vc/emerge.el (emerge-position-region):
      * vc/pcvs-util.el (cvs-bury-buffer):
      * window.el (walk-windows, mouse-autoselect-window-select):
      * winner.el (winner-set-conf, winner-undo): Related users changed.
      290d5b58
  23. 15 May, 2013 1 commit
    • Glenn Morris's avatar
      Misc custom group fixes · ed8be7ff
      Glenn Morris authored
      * cus-start.el (show-trailing-whitespace): Move to editing basics.
      * faces.el (trailing-whitespace): Don't use whitespace-faces group.
      * obsolete/old-whitespace.el (whitespace-faces): Remove group.
      (whitespace-highlight): Move to whitespace group.
      
      * comint.el (comint-source):
      * pcmpl-linux.el (pcmpl-linux):
      * shell.el (shell-faces):
      * eshell/esh-opt.el (eshell-opt):
      * international/ccl.el (ccl): Remove empty custom groups.
      
      * completion.el (dynamic-completion-mode):
      * jit-lock.el (jit-lock-debug-mode):
      * minibuffer.el (completion-in-region-mode):
      * type-break.el (type-break-mode-line-message-mode)
      (type-break-query-mode):
      * emulation/tpu-edt.el (tpu-edt-mode):
      * progmodes/subword.el (global-subword-mode, global-superword-mode):
      * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
      * term/vt100.el (vt100-wide-mode): Specify explicit :group.
      
      * term/xterm.el (xterm): Change parent group to terminals.
      
      * master.el (master): Remove empty custom group.
      (master-mode): Remove unused :group argument.
      * textmodes/refill.el (refill): Remove empty custom group.
      (refill-mode): Remove unused :group argument.
      
      * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
      
      * cedet/semantic/symref/list.el (semantic-symref-auto-expand-results)
      (semantic-symref-results-mode-hook)
      (semantic-symref-results-summary-function): Fix :group.
      
      * erc/erc-list.el (erc-list):
      * erc/erc-menu.el (erc-menu):
      * erc/erc-ring.el (erc-ring): Define custom groups, for define-erc-module.
      
      * gnus/shr-color.el (shr-color-visible-luminance-min)
      (shr-color-visible-distance-min): Use shr-color group.
      
      * url/url-news.el (url-news): Remove empty custom group.
      ed8be7ff
  24. 23 Apr, 2013 1 commit
  25. 30 Jan, 2013 1 commit
  26. 13 Jan, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/jit-lock.el (jit-lock-debug-mode): New minor mode. · e5b5a34d
      Stefan Monnier authored
      (jit-lock--debug-fontifying): New var.
      (jit-lock--debug-fontify): New function.
      * lisp/subr.el (condition-case-unless-debug): Don't prevent catching the
      error, just let the debbugger run.
      * lisp/emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
      timer code and don't drop errors silently.
      e5b5a34d
  27. 01 Jan, 2013 1 commit
  28. 10 Jul, 2012 1 commit
    • Stefan Monnier's avatar
      Reduce use of (require 'cl). · f58e0fd5
      Stefan Monnier authored
      * 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.
      f58e0fd5
  29. 11 Jan, 2012 1 commit
  30. 05 Jan, 2012 1 commit
  31. 25 Jan, 2011 1 commit
  32. 15 Jan, 2011 1 commit
  33. 02 Jan, 2011 1 commit
  34. 30 Aug, 2010 1 commit
    • Stefan Monnier's avatar
      Use with-silent-modifications. · d36b74ca
      Stefan Monnier authored
      * lisp/composite.el (save-buffer-state): Delete, unused.
      * lisp/font-lock.el (save-buffer-state): Use with-silent-modifications.
      (font-lock-default-fontify-region): Use with-syntax-table.
      * lisp/jit-lock.el (with-buffer-unmodified): Remove.
      (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
      d36b74ca
  35. 29 Aug, 2010 1 commit