aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/proof-compat.el
Commit message (Collapse)AuthorAge
* Use `cl-lib` instead of `cl` everywhereGravatar Stefan Monnier2018-12-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use lexical-binding in a few files where it was easy. Don't require `proof-compat` when it's not used. * coq/coq-db.el: Use lexical-binding. * coq/coq-system.el: Use lexical-binding. (coq--extract-prog-args): Use concatenated-args rather than recomputing it. * coq/coq.el: Require `span` to silence some warnings. * generic/pg-user.el: Use lexical-binding. (complete, add-completion, completion-min-length): Silence warnings. * generic/pg-xml.el: Use lexical-binding. (pg-xml-string-of): Prefer mapconcat to reduce+concat. * generic/proof-depends.el: Use lexical-binding. (proof-dep-split-deps): Use `push`. * generic/proof-shell.el: Require `span` to silence some warnings. (proof-shell-invisible-command): Don't use lexical-let just to build a wasteful η-redex! * lib/holes.el: Use lexical-binding. Remove redundant :group args. * lib/span.el: Use lexical-binding. (span-read-only-hook): Use user-error. (span-raise): Remove, unused.
* Cleanup patch; Moving defvar to toplevelGravatar Stefan Monnier2018-12-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move `defvar`s used to silence warnings outside of eval-when-compile. Make sure they don't actually give a value to the var. * pg-init.el: Simplify. Use (if t ...) to avoid running `require` at compile-time. Don't add subdirs to load-path here since this code is never used. (pg-init--script-full-path, pg-init--pg-root): Inline their definition into their sole user. * generic/proof-utils.el (proof-resize-window-tofit): Inline definitions of window-leftmost-p and window-rightmost-p previously in proof-compat.el. * lib/proof-compat.el (proof-running-on-win32): Remove, not used. (mac-key-mode): Remove, there's no carbon-emacs-package-version in Emacs≥24.3. (pg-custom-undeclare-variable): Use dolist. (save-selected-frame): Remove, save-selected-window also saves&restores the selected frame at the same time. Update all users (which already used save-selected-window around it). (window-leftmost-p, window-rightmost-p, window-bottom-p) (find-coding-system): Remove, unused. * hol-light/hol-light.el (caml-font-lock-keywords): Don't try to defvar it to a dummy value and... (hol-light): ...check its existence before using it instead. * coq/coq.el (coq-may-use-prettify): Simplify initialization.
* Fix most doc issues raised by (checkdoc)Gravatar Erik Martin-Dorel2018-08-23
|
* Update copyright messages and improve the header of elisp files.Gravatar Erik Martin-Dorel2018-02-21
|
* Fix incorrect uses of defvarGravatar Clément Pit--Claudel2017-03-08
| | | | | | | It didn't really matter that these variables were defined and set to nil during compilation, since we ran compilation in a clean Emacs in --batch mode; it does matter now, however, since package.el compiles PG in the user's currently running Emacs instance.
* Remove functions defined for Emacs 22 compatibilityGravatar David Aspinall2012-09-02
|
* Make proof-assistant-settings follow currently available dynamic settings, ↵Gravatar David Aspinall2011-01-31
| | | | and keep possibly customized variables bound. Closes Trac #387.
* Summary: New indentation code using SMIEGravatar Stefan Monnier2010-11-15
| | | | | | | | | | * coq/coq.el (coq-build-prog-args): Avoid meaningless \- escape sequence. (coq-use-smie): New custom var. (coq-smie-grammar): New var. (coq-smie-rules): New function. (coq-guess-or-ask-for-string): Use use-region-p. (coq-mode-config): Use smie-setup if available. * lib/proof-compat.el (use-region-p): Provide fallback definition.
* Bring syntactic context functions togetherGravatar David Aspinall2010-08-25
|
* Add compatilibity for declare-function in Emacs 22.1Gravatar David Aspinall2009-09-09
|
* proof-buffer-syntactic-context-emulate: use caching syntax-ppssGravatar David Aspinall2009-09-06
| | | | instead of parse-partial-sexp
* Fix compile warningsGravatar David Aspinall2009-09-06
|
* Add characterp for Emacs 22Gravatar David Aspinall2009-09-05
|
* Tidy whitespaceGravatar David Aspinall2009-09-05
|
* replace-in-string -> replace-regexp-in-stringGravatar David Aspinall2009-09-04
|
* Remove further unnecessary compatibility code.Gravatar David Aspinall2009-09-04
|
* Cleanup more Emacs compatibilityGravatar David Aspinall2009-05-27
|
* Remove process-live-p, move complete autoload to use pointGravatar David Aspinall2009-05-26
|
* Merge changes from Version4Branch.Gravatar David Aspinall2008-07-24
|
* Add buffer-substring-no-properties in case of older Emacs versionsGravatar David Aspinall2008-01-29
|
* Workaround a small bug in Carbon Emacs Winter 2008: mac-key-mode not boundGravatar David Aspinall2008-01-28
|
* Back patch for XEmacs 21.4 on API change to add-hook.Gravatar David Aspinall2008-01-25
|
* Back patch for XEmacs 21.4 on API change to add-hook.Gravatar David Aspinall2008-01-25
|
* Avoid some compilation/warningsGravatar David Aspinall2008-01-17
|
* Many compatibility updates, bug fixes, rearrangements for compilation.Gravatar David Aspinall2008-01-15
|
* Remove eval-when, seems unreliableGravatar David Aspinall2007-12-14
|
* Add eval-whenGravatar David Aspinall2007-12-14
|
* Tune compatibilityGravatar David Aspinall2007-12-12
|
* Emulate find-coding-system for GNU EmacsGravatar David Aspinall2007-05-10
|
* Patch x-symbol problem with XEmacs betaGravatar David Aspinall2007-01-20
|
* Rationalise testing for different values of window-system, to/and support ↵Gravatar David Aspinall2006-10-27
| | | | more Emacs ports easily
* Add workaround for GNU Emacs problems in easymenu-add.Gravatar David Aspinall2006-09-22
|
* sit-for is indeed in subr.el, must be careful to load rightGravatar David Aspinall2006-08-23
| | | | libraries...
* Compatibility for GNU Emacs CVS losing sit-forGravatar David Aspinall2006-08-23
| | | | (this will break much code, isn't it in some .el file?)
* Compatibility in proof-buffer-syntactic-context for XEmacs 21.5. Buffer ↵Gravatar David Aspinall2005-09-27
| | | | tabs hack.
* Renamed fileGravatar David Aspinall2004-08-25