diff options
| author | Stefan Monnier | 2003-04-18 13:53:18 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2003-04-18 13:53:18 +0000 |
| commit | cb211eb2f6ea692c2ade1b488cab097f82d7db14 (patch) | |
| tree | a7e765bd5805764836ce7108e1340485b6b6605d /lisp | |
| parent | c6464167c6d78835d83ed090aaa5e4dc5e1f520d (diff) | |
| download | emacs-cb211eb2f6ea692c2ade1b488cab097f82d7db14.tar.gz emacs-cb211eb2f6ea692c2ade1b488cab097f82d7db14.zip | |
(view-read-only): Move from view.el to files.el.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 47 | ||||
| -rw-r--r-- | lisp/files.el | 5 | ||||
| -rw-r--r-- | lisp/view.el | 5 |
3 files changed, 51 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7406bc8e4a1..8068bc2669c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2003-04-18 Stefan Monnier <monnier@cs.yale.edu> | ||
| 2 | |||
| 3 | * view.el (view-read-only): Move to files.el. | ||
| 4 | * files.el (view-read-only): Move from view.el. | ||
| 5 | |||
| 1 | 2003-04-17 Stefan Monnier <monnier@cs.yale.edu> | 6 | 2003-04-17 Stefan Monnier <monnier@cs.yale.edu> |
| 2 | 7 | ||
| 3 | * files.el (view-read-only): Don't declare a second time. | 8 | * files.el (view-read-only): Don't declare a second time. |
| @@ -360,6 +365,48 @@ | |||
| 360 | * language/ind-util.el (indian-2-column-to-ucs-region): Fix for | 365 | * language/ind-util.el (indian-2-column-to-ucs-region): Fix for |
| 361 | the case of replacing multibyte characters. | 366 | the case of replacing multibyte characters. |
| 362 | 367 | ||
| 368 | 2003-04-09 Stefan Monnier <monnier@cs.yale.edu> | ||
| 369 | |||
| 370 | * textmodes/bibtex.el: Update copyright and Author list. | ||
| 371 | Don't require `compile' since it seems unnecessary. | ||
| 372 | (bibtex-version): Remove. | ||
| 373 | (bibtex-sort-ignore-string-entries, bibtex-maintain-sorted-entries) | ||
| 374 | (bibtex-field-name-for-parsing): Don't make auto-buffer-local. | ||
| 375 | (bibtex-comment-start): Don't include the space. | ||
| 376 | (zmacs-regions, reporter-prompt-for-summary-p): | ||
| 377 | Declare to quieten the byte-compiler. | ||
| 378 | (bibtex-reference-key, bibtex-mode-syntax-table): Remove = | ||
| 379 | because it can't be part of a string's key. | ||
| 380 | (bibtex-parse-field-name): Use prog1. | ||
| 381 | (bibtex-font-lock-syntactic-keywords): New var. | ||
| 382 | (bibtex-font-lock-keywords): Remove the entry for @Comment. | ||
| 383 | (bibtex-search-entry): Simplify. | ||
| 384 | (bibtex-empty-re): New var. | ||
| 385 | (bibtex-format-entry): Slightly restructure some loops to avoid code | ||
| 386 | duplication. Use looking-at rather than `substring + string-match'. | ||
| 387 | Use bibtex-empty-re (which removes unnecessary \(..\) in regexps). | ||
| 388 | Remove now unused end-name. Use bibtex-find-crossref. | ||
| 389 | Don't downcase since case-fold-search is t. | ||
| 390 | (bibtex-autokey-get-yearfield): Use bibtex-find-crossref. | ||
| 391 | (bibtex-parse-keys): Use unless and push. | ||
| 392 | Parse even if bibtex-maintain-sorted-entries is nil. | ||
| 393 | (bibtex-complete): Use push. Don't sort completions. | ||
| 394 | (bibtex-mode): Use push. Update comment-start-skip. | ||
| 395 | Improve defun-prompt-regexp and outline-regexp. | ||
| 396 | Add bibtex-font-lock-syntactic-keywords to font-lock-defaults. | ||
| 397 | (bibtex-end-of-entry): Remove unused \(...\). | ||
| 398 | (bibtex-sort-key): New fun. | ||
| 399 | (bibtex-sort-buffer, bibtex-validate): Use it. | ||
| 400 | (bibtex-find-crossref): New fun. | ||
| 401 | (bibtex-validate): Use push & dolist; remove \(...\). | ||
| 402 | (bibtex-clean-entry): Use unless and friends. | ||
| 403 | Don't add the key to the list if the list hasn't been built yet. | ||
| 404 | (bibtex-fill-entry): Remove unused begin-name and end-name. | ||
| 405 | (bibtex-reformat): Kill local var instead of setting it to nil. | ||
| 406 | (bibtex-convert-alien): Use deactivate-mark rather than the | ||
| 407 | non-existent bibtex-mark-active variable. | ||
| 408 | (bibtex-String): Simplify. | ||
| 409 | |||
| 363 | 2003-04-09 Richard M. Stallman <rms@gnu.org> | 410 | 2003-04-09 Richard M. Stallman <rms@gnu.org> |
| 364 | 411 | ||
| 365 | * files.el (file-chase-links): Fix previous change. | 412 | * files.el (file-chase-links): Fix previous change. |
diff --git a/lisp/files.el b/lisp/files.el index c6b91c57d6d..6e1a5b4c799 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -442,7 +442,10 @@ and ignores this variable." | |||
| 442 | (or (fboundp 'file-locked-p) | 442 | (or (fboundp 'file-locked-p) |
| 443 | (defalias 'file-locked-p 'ignore)) | 443 | (defalias 'file-locked-p 'ignore)) |
| 444 | 444 | ||
| 445 | (defvar view-read-only) ;Declared in view.el. | 445 | (defcustom view-read-only nil |
| 446 | "*Non-nil means buffers visiting files read-only, do it in view mode." | ||
| 447 | :type 'boolean | ||
| 448 | :group 'view) | ||
| 446 | 449 | ||
| 447 | (put 'ange-ftp-completion-hook-function 'safe-magic t) | 450 | (put 'ange-ftp-completion-hook-function 'safe-magic t) |
| 448 | (defun ange-ftp-completion-hook-function (op &rest args) | 451 | (defun ange-ftp-completion-hook-function (op &rest args) |
diff --git a/lisp/view.el b/lisp/view.el index 96907371aec..ce5c1df702b 100644 --- a/lisp/view.el +++ b/lisp/view.el | |||
| @@ -53,11 +53,6 @@ | |||
| 53 | :group 'wp | 53 | :group 'wp |
| 54 | :group 'editing) | 54 | :group 'editing) |
| 55 | 55 | ||
| 56 | (defcustom view-read-only nil | ||
| 57 | "*Non-nil means buffers visiting files read-only, do it in view mode." | ||
| 58 | :type 'boolean | ||
| 59 | :group 'view) | ||
| 60 | |||
| 61 | (defcustom view-highlight-face 'highlight | 56 | (defcustom view-highlight-face 'highlight |
| 62 | "*The face used for highlighting the match found by View mode search." | 57 | "*The face used for highlighting the match found by View mode search." |
| 63 | :type 'face | 58 | :type 'face |