diff options
| author | Juanma Barranquero | 2014-03-14 01:22:33 +0100 |
|---|---|---|
| committer | Juanma Barranquero | 2014-03-14 01:22:33 +0100 |
| commit | 7644aa970d350a7457ef2fba469c73bb00c22365 (patch) | |
| tree | ed47415a24d93a1dad31f26c441a0e8098f5aa59 | |
| parent | 1f44df94fa2c84abd0a14becd0da4f019237f15e (diff) | |
| download | emacs-7644aa970d350a7457ef2fba469c73bb00c22365.tar.gz emacs-7644aa970d350a7457ef2fba469c73bb00c22365.zip | |
lisp/net/*.el, lisp/progmodes/*.el: Fix docstring typos.
* net/socks.el (socks, socks-override-functions)
(socks-find-services-entry): FT
* progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
(hif-find-ifdef-block):
* progmodes/modula2.el (m2-indent): Fix docstring typos.
* net/tls.el (tls-program): Reflow docstring.
* progmodes/opascal.el (opascal-compound-block-indent)
(opascal-case-label-indent): Fix docstring typos.
(opascal-mode): Fix typos; let defined-derived-mode document mode hook.
* progmodes/pascal.el (pascal-mode-abbrev-table)
(pascal-imenu-generic-expression, pascal-auto-endcomments)
(pascal-mark-defun, pascal-comment-area, pascal-indent-level)
(pascal-outline-mode): Fix docstring typos.
(pascal-mode): Let define-derived-mode document mode hook.
(pascal-uncomment-area): Reflow.
(pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
| -rw-r--r-- | lisp/ChangeLog | 22 | ||||
| -rw-r--r-- | lisp/net/socks.el | 6 | ||||
| -rw-r--r-- | lisp/net/tls.el | 3 | ||||
| -rw-r--r-- | lisp/progmodes/hideif.el | 8 | ||||
| -rw-r--r-- | lisp/progmodes/modula2.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/opascal.el | 13 | ||||
| -rw-r--r-- | lisp/progmodes/pascal.el | 39 |
7 files changed, 55 insertions, 38 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 99626641b08..e4dff0abd91 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,25 @@ | |||
| 1 | 2014-03-14 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * net/socks.el (socks, socks-override-functions) | ||
| 4 | (socks-find-services-entry): FT | ||
| 5 | * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma) | ||
| 6 | (hif-find-ifdef-block): | ||
| 7 | * progmodes/modula2.el (m2-indent): Fix docstring typos. | ||
| 8 | |||
| 9 | * net/tls.el (tls-program): Reflow docstring. | ||
| 10 | |||
| 11 | * progmodes/pascal.el (pascal-mode-abbrev-table) | ||
| 12 | (pascal-imenu-generic-expression, pascal-auto-endcomments) | ||
| 13 | (pascal-mark-defun, pascal-comment-area, pascal-indent-level) | ||
| 14 | (pascal-outline-mode): Fix docstring typos. | ||
| 15 | (pascal-mode): Let define-derived-mode document mode hook. | ||
| 16 | (pascal-uncomment-area): Reflow. | ||
| 17 | (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring. | ||
| 18 | |||
| 19 | * progmodes/opascal.el (opascal-compound-block-indent) | ||
| 20 | (opascal-case-label-indent): Fix docstring typos. | ||
| 21 | (opascal-mode): Fix typos; let defined-derived-mode document mode hook. | ||
| 22 | |||
| 1 | 2014-03-13 Dmitry Gutov <dgutov@yandex.ru> | 23 | 2014-03-13 Dmitry Gutov <dgutov@yandex.ru> |
| 2 | 24 | ||
| 3 | * progmodes/ruby-mode.el (ruby-font-lock-keywords): Fontify | 25 | * progmodes/ruby-mode.el (ruby-font-lock-keywords): Fontify |
diff --git a/lisp/net/socks.el b/lisp/net/socks.el index 556a7b4adc2..90ee20c8118 100644 --- a/lisp/net/socks.el +++ b/lisp/net/socks.el | |||
| @@ -102,7 +102,7 @@ If PATTERN is omitted, it defaults to \"[ \\f\\t\\n\\r\\v]+\"." | |||
| 102 | ;;; Customization support | 102 | ;;; Customization support |
| 103 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 103 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 104 | (defgroup socks nil | 104 | (defgroup socks nil |
| 105 | "SOCKS Support" | 105 | "SOCKS support." |
| 106 | :version "22.2" | 106 | :version "22.2" |
| 107 | :prefix "socks-" | 107 | :prefix "socks-" |
| 108 | :group 'processes) | 108 | :group 'processes) |
| @@ -347,7 +347,7 @@ If PATTERN is omitted, it defaults to \"[ \\f\\t\\n\\r\\v]+\"." | |||
| 347 | ;; could get a wrapper hook, or defer to open-network-stream-function. | 347 | ;; could get a wrapper hook, or defer to open-network-stream-function. |
| 348 | 348 | ||
| 349 | (defvar socks-override-functions nil | 349 | (defvar socks-override-functions nil |
| 350 | "Whether to overwrite the open-network-stream function with the SOCKSified | 350 | "Whether to overwrite the `open-network-stream' function with the SOCKSified |
| 351 | version.") | 351 | version.") |
| 352 | 352 | ||
| 353 | (require 'network-stream) | 353 | (require 'network-stream) |
| @@ -533,7 +533,7 @@ version.") | |||
| 533 | socks-tcp-services)))))) | 533 | socks-tcp-services)))))) |
| 534 | 534 | ||
| 535 | (defun socks-find-services-entry (service &optional udp) | 535 | (defun socks-find-services-entry (service &optional udp) |
| 536 | "Return the port # associated with SERVICE" | 536 | "Return the port # associated with SERVICE." |
| 537 | (if (= (hash-table-count socks-tcp-services) 0) | 537 | (if (= (hash-table-count socks-tcp-services) 0) |
| 538 | (socks-parse-services)) | 538 | (socks-parse-services)) |
| 539 | (gethash (downcase service) | 539 | (gethash (downcase service) |
diff --git a/lisp/net/tls.el b/lisp/net/tls.el index 8d7c695b3c3..6abb0483d52 100644 --- a/lisp/net/tls.el +++ b/lisp/net/tls.el | |||
| @@ -80,8 +80,7 @@ and `gnutls-cli' (version 2.0.1) output." | |||
| 80 | "List of strings containing commands to start TLS stream to a host. | 80 | "List of strings containing commands to start TLS stream to a host. |
| 81 | Each entry in the list is tried until a connection is successful. | 81 | Each entry in the list is tried until a connection is successful. |
| 82 | %h is replaced with server hostname, %p with port to connect to. | 82 | %h is replaced with server hostname, %p with port to connect to. |
| 83 | The program should read input on stdin and write output to | 83 | The program should read input on stdin and write output to stdout. |
| 84 | stdout. | ||
| 85 | 84 | ||
| 86 | See `tls-checktrust' on how to check trusted root certs. | 85 | See `tls-checktrust' on how to check trusted root certs. |
| 87 | 86 | ||
diff --git a/lisp/progmodes/hideif.el b/lisp/progmodes/hideif.el index 9a811481f49..39ad676f593 100644 --- a/lisp/progmodes/hideif.el +++ b/lisp/progmodes/hideif.el | |||
| @@ -327,7 +327,7 @@ that form should be displayed.") | |||
| 327 | 327 | ||
| 328 | 328 | ||
| 329 | (defun hif-set-var (var value) | 329 | (defun hif-set-var (var value) |
| 330 | "Prepend (var value) pair to hide-ifdef-env." | 330 | "Prepend (var value) pair to `hide-ifdef-env'." |
| 331 | (setq hide-ifdef-env (cons (cons var value) hide-ifdef-env))) | 331 | (setq hide-ifdef-env (cons (cons var value) hide-ifdef-env))) |
| 332 | 332 | ||
| 333 | (declare-function semantic-c-hideif-lookup "semantic/bovine/c" (var)) | 333 | (declare-function semantic-c-hideif-lookup "semantic/bovine/c" (var)) |
| @@ -479,7 +479,7 @@ that form should be displayed.") | |||
| 479 | ;; | Comma | , | left-to-right | | 479 | ;; | Comma | , | left-to-right | |
| 480 | 480 | ||
| 481 | (defsubst hif-nexttoken () | 481 | (defsubst hif-nexttoken () |
| 482 | "Pop the next token from token-list into the let variable \"hif-token\"." | 482 | "Pop the next token from token-list into the let variable `hif-token'." |
| 483 | (setq hif-token (pop hif-token-list))) | 483 | (setq hif-token (pop hif-token-list))) |
| 484 | 484 | ||
| 485 | (defun hif-parse-if-exp (token-list) | 485 | (defun hif-parse-if-exp (token-list) |
| @@ -712,7 +712,7 @@ that form should be displayed.") | |||
| 712 | 712 | ||
| 713 | 713 | ||
| 714 | (defun hif-comma (&rest expr) | 714 | (defun hif-comma (&rest expr) |
| 715 | "Evaluate a list of expr, return the result of the last item" | 715 | "Evaluate a list of expr, return the result of the last item." |
| 716 | (let ((result nil)) | 716 | (let ((result nil)) |
| 717 | (dolist (e expr) | 717 | (dolist (e expr) |
| 718 | (ignore-errors | 718 | (ignore-errors |
| @@ -1118,7 +1118,7 @@ Turn off hiding by calling `show-ifdefs'." | |||
| 1118 | 1118 | ||
| 1119 | 1119 | ||
| 1120 | (defun hif-find-ifdef-block () | 1120 | (defun hif-find-ifdef-block () |
| 1121 | "Utility for hide and show `ifdef-block'. | 1121 | "Utility to hide and show ifdef block. |
| 1122 | Return as (TOP . BOTTOM) the extent of ifdef block." | 1122 | Return as (TOP . BOTTOM) the extent of ifdef block." |
| 1123 | (let (max-bottom) | 1123 | (let (max-bottom) |
| 1124 | (cons (save-excursion | 1124 | (cons (save-excursion |
diff --git a/lisp/progmodes/modula2.el b/lisp/progmodes/modula2.el index d7d0da84ed9..582e495a2bf 100644 --- a/lisp/progmodes/modula2.el +++ b/lisp/progmodes/modula2.el | |||
| @@ -104,7 +104,7 @@ | |||
| 104 | "Keymap used in Modula-2 mode.") | 104 | "Keymap used in Modula-2 mode.") |
| 105 | 105 | ||
| 106 | (defcustom m2-indent 5 | 106 | (defcustom m2-indent 5 |
| 107 | "This variable gives the indentation in Modula-2-Mode." | 107 | "This variable gives the indentation in Modula-2 mode." |
| 108 | :type 'integer | 108 | :type 'integer |
| 109 | :group 'modula2) | 109 | :group 'modula2) |
| 110 | (put 'm2-indent 'safe-local-variable | 110 | (put 'm2-indent 'safe-local-variable |
diff --git a/lisp/progmodes/opascal.el b/lisp/progmodes/opascal.el index dfb2b72a9d6..fd8e249bbb9 100644 --- a/lisp/progmodes/opascal.el +++ b/lisp/progmodes/opascal.el | |||
| @@ -73,7 +73,7 @@ end;" | |||
| 73 | (define-obsolete-variable-alias | 73 | (define-obsolete-variable-alias |
| 74 | 'delphi-compound-block-indent 'opascal-compound-block-indent "24.4") | 74 | 'delphi-compound-block-indent 'opascal-compound-block-indent "24.4") |
| 75 | (defcustom opascal-compound-block-indent 0 | 75 | (defcustom opascal-compound-block-indent 0 |
| 76 | "Extra indentation for blocks in compound statements. E.g. | 76 | "Extra indentation for blocks in compound statements. E.g. |
| 77 | 77 | ||
| 78 | // block indent = 0 vs // block indent = 2 | 78 | // block indent = 0 vs // block indent = 2 |
| 79 | if b then if b then | 79 | if b then if b then |
| @@ -87,7 +87,7 @@ end; else | |||
| 87 | (define-obsolete-variable-alias | 87 | (define-obsolete-variable-alias |
| 88 | 'delphi-case-label-indent 'opascal-case-label-indent "24.4") | 88 | 'delphi-case-label-indent 'opascal-case-label-indent "24.4") |
| 89 | (defcustom opascal-case-label-indent opascal-indent-level | 89 | (defcustom opascal-case-label-indent opascal-indent-level |
| 90 | "Extra indentation for case statement labels. E.g. | 90 | "Extra indentation for case statement labels. E.g. |
| 91 | 91 | ||
| 92 | // case indent = 0 vs // case indent = 3 | 92 | // case indent = 0 vs // case indent = 3 |
| 93 | case value of case value of | 93 | case value of case value of |
| @@ -1744,7 +1744,7 @@ comment block. If not in a // comment, just does a normal newline." | |||
| 1744 | (define-obsolete-function-alias 'delphi-mode 'opascal-mode "24.4") | 1744 | (define-obsolete-function-alias 'delphi-mode 'opascal-mode "24.4") |
| 1745 | ;;;###autoload | 1745 | ;;;###autoload |
| 1746 | (define-derived-mode opascal-mode prog-mode "OPascal" | 1746 | (define-derived-mode opascal-mode prog-mode "OPascal" |
| 1747 | "Major mode for editing OPascal code. \\<opascal-mode-map> | 1747 | "Major mode for editing OPascal code.\\<opascal-mode-map> |
| 1748 | \\[opascal-find-unit]\t- Search for a OPascal source file. | 1748 | \\[opascal-find-unit]\t- Search for a OPascal source file. |
| 1749 | \\[opascal-fill-comment]\t- Fill the current comment. | 1749 | \\[opascal-fill-comment]\t- Fill the current comment. |
| 1750 | \\[opascal-new-comment-line]\t- If in a // comment, do a new comment line. | 1750 | \\[opascal-new-comment-line]\t- If in a // comment, do a new comment line. |
| @@ -1766,11 +1766,8 @@ Customization: | |||
| 1766 | 1766 | ||
| 1767 | Coloring: | 1767 | Coloring: |
| 1768 | 1768 | ||
| 1769 | `opascal-keyword-face' (default font-lock-keyword-face) | 1769 | `opascal-keyword-face' (default `font-lock-keyword-face') |
| 1770 | Face used to color OPascal keywords. | 1770 | Face used to color OPascal keywords." |
| 1771 | |||
| 1772 | Turning on OPascal mode calls the value of the variable `opascal-mode-hook' | ||
| 1773 | with no args, if that value is non-nil." | ||
| 1774 | 1771 | ||
| 1775 | ;; Buffer locals: | 1772 | ;; Buffer locals: |
| 1776 | (setq-local indent-line-function #'opascal-indent-line) | 1773 | (setq-local indent-line-function #'opascal-indent-line) |
diff --git a/lisp/progmodes/pascal.el b/lisp/progmodes/pascal.el index ed79eacecc4..a6932953ab9 100644 --- a/lisp/progmodes/pascal.el +++ b/lisp/progmodes/pascal.el | |||
| @@ -64,7 +64,7 @@ | |||
| 64 | :group 'languages) | 64 | :group 'languages) |
| 65 | 65 | ||
| 66 | (defvar pascal-mode-abbrev-table nil | 66 | (defvar pascal-mode-abbrev-table nil |
| 67 | "Abbrev table in use in Pascal-mode buffers.") | 67 | "Abbrev table in use in Pascal mode buffers.") |
| 68 | (define-abbrev-table 'pascal-mode-abbrev-table ()) | 68 | (define-abbrev-table 'pascal-mode-abbrev-table ()) |
| 69 | 69 | ||
| 70 | (defvar pascal-mode-map | 70 | (defvar pascal-mode-map |
| @@ -99,7 +99,7 @@ | |||
| 99 | 99 | ||
| 100 | (defvar pascal-imenu-generic-expression | 100 | (defvar pascal-imenu-generic-expression |
| 101 | '((nil "^[ \t]*\\(function\\|procedure\\)[ \t\n]+\\([a-zA-Z0-9_.:]+\\)" 2)) | 101 | '((nil "^[ \t]*\\(function\\|procedure\\)[ \t\n]+\\([a-zA-Z0-9_.:]+\\)" 2)) |
| 102 | "Imenu expression for Pascal-mode. See `imenu-generic-expression'.") | 102 | "Imenu expression for Pascal mode. See `imenu-generic-expression'.") |
| 103 | 103 | ||
| 104 | (defvar pascal-keywords | 104 | (defvar pascal-keywords |
| 105 | '("and" "array" "begin" "case" "const" "div" "do" "downto" "else" "end" | 105 | '("and" "array" "begin" "case" "const" "div" "do" "downto" "else" "end" |
| @@ -126,8 +126,10 @@ | |||
| 126 | "\\<\\(label\\|var\\|type\\|const\\|until\\|end\\|begin\\|repeat\\|else\\)\\>") | 126 | "\\<\\(label\\|var\\|type\\|const\\|until\\|end\\|begin\\|repeat\\|else\\)\\>") |
| 127 | 127 | ||
| 128 | ;;; Strings used to mark beginning and end of excluded text | 128 | ;;; Strings used to mark beginning and end of excluded text |
| 129 | (defconst pascal-exclude-str-start "{-----\\/----- EXCLUDED -----\\/-----") | 129 | (defconst pascal-exclude-str-start "{-----\\/----- EXCLUDED -----\\/-----" |
| 130 | (defconst pascal-exclude-str-end " -----/\\----- EXCLUDED -----/\\-----}") | 130 | "String used to mark beginning of excluded text.") |
| 131 | (defconst pascal-exclude-str-end " -----/\\----- EXCLUDED -----/\\-----}" | ||
| 132 | "String used to mark end of excluded text.") | ||
| 131 | 133 | ||
| 132 | (defvar pascal-mode-syntax-table | 134 | (defvar pascal-mode-syntax-table |
| 133 | (let ((st (make-syntax-table))) | 135 | (let ((st (make-syntax-table))) |
| @@ -227,7 +229,7 @@ and follows non-whitespace text." | |||
| 227 | 229 | ||
| 228 | (defcustom pascal-auto-endcomments t | 230 | (defcustom pascal-auto-endcomments t |
| 229 | "Non-nil means automatically insert comments after certain `end's. | 231 | "Non-nil means automatically insert comments after certain `end's. |
| 230 | Specifically, this is done after the ends of cases statements and functions. | 232 | Specifically, this is done after the ends of case statements and functions. |
| 231 | The name of the function or case is included between the braces." | 233 | The name of the function or case is included between the braces." |
| 232 | :type 'boolean | 234 | :type 'boolean |
| 233 | :group 'pascal) | 235 | :group 'pascal) |
| @@ -314,7 +316,7 @@ are handled in another way, and should not be added to this list." | |||
| 314 | 316 | ||
| 315 | ;;;###autoload | 317 | ;;;###autoload |
| 316 | (define-derived-mode pascal-mode prog-mode "Pascal" | 318 | (define-derived-mode pascal-mode prog-mode "Pascal" |
| 317 | "Major mode for editing Pascal code. \\<pascal-mode-map> | 319 | "Major mode for editing Pascal code.\\<pascal-mode-map> |
| 318 | TAB indents for Pascal code. Delete converts tabs to spaces as it moves back. | 320 | TAB indents for Pascal code. Delete converts tabs to spaces as it moves back. |
| 319 | 321 | ||
| 320 | \\[completion-at-point] completes the word around current point with respect \ | 322 | \\[completion-at-point] completes the word around current point with respect \ |
| @@ -355,10 +357,7 @@ Variables controlling indentation/edit style: | |||
| 355 | List of contexts where auto lineup of :'s or ='s should be done. | 357 | List of contexts where auto lineup of :'s or ='s should be done. |
| 356 | 358 | ||
| 357 | See also the user variables `pascal-type-keywords', `pascal-start-keywords' and | 359 | See also the user variables `pascal-type-keywords', `pascal-start-keywords' and |
| 358 | `pascal-separator-keywords'. | 360 | `pascal-separator-keywords'." |
| 359 | |||
| 360 | Turning on Pascal mode calls the value of the variable pascal-mode-hook with | ||
| 361 | no args, if that value is non-nil." | ||
| 362 | (setq-local local-abbrev-table pascal-mode-abbrev-table) | 361 | (setq-local local-abbrev-table pascal-mode-abbrev-table) |
| 363 | (setq-local indent-line-function 'pascal-indent-line) | 362 | (setq-local indent-line-function 'pascal-indent-line) |
| 364 | (setq-local comment-indent-function 'pascal-indent-comment) | 363 | (setq-local comment-indent-function 'pascal-indent-comment) |
| @@ -507,7 +506,7 @@ no args, if that value is non-nil." | |||
| 507 | (insert " ")) | 506 | (insert " ")) |
| 508 | 507 | ||
| 509 | (defun pascal-mark-defun () | 508 | (defun pascal-mark-defun () |
| 510 | "Mark the current pascal function (or procedure). | 509 | "Mark the current Pascal function (or procedure). |
| 511 | This puts the mark at the end, and point at the beginning." | 510 | This puts the mark at the end, and point at the beginning." |
| 512 | (interactive) | 511 | (interactive) |
| 513 | (push-mark (point)) | 512 | (push-mark (point)) |
| @@ -518,14 +517,14 @@ This puts the mark at the end, and point at the beginning." | |||
| 518 | (zmacs-activate-region))) | 517 | (zmacs-activate-region))) |
| 519 | 518 | ||
| 520 | (defun pascal-comment-area (start end) | 519 | (defun pascal-comment-area (start end) |
| 521 | "Put the region into a Pascal comment. | 520 | "Put the region into a Pascal comment.\\<pascal-mode-map> |
| 522 | The comments that are in this area are \"deformed\": | 521 | The comments that are in this area are \"deformed\": |
| 523 | `*)' becomes `!(*' and `}' becomes `!{'. | 522 | `*)' becomes `!(*' and `}' becomes `!{'. |
| 524 | These deformed comments are returned to normal if you use | 523 | These deformed comments are returned to normal if you use |
| 525 | \\[pascal-uncomment-area] to undo the commenting. | 524 | \\[pascal-uncomment-area] to undo the commenting. |
| 526 | 525 | ||
| 527 | The commented area starts with `pascal-exclude-str-start', and ends with | 526 | The commented area starts with `pascal-exclude-str-start', and ends |
| 528 | `pascal-include-str-end'. But if you change these variables, | 527 | with `pascal-exclude-str-end'. But if you change these variables, |
| 529 | \\[pascal-uncomment-area] won't recognize the comments." | 528 | \\[pascal-uncomment-area] won't recognize the comments." |
| 530 | (interactive "r") | 529 | (interactive "r") |
| 531 | (save-excursion | 530 | (save-excursion |
| @@ -553,8 +552,8 @@ The commented area starts with `pascal-exclude-str-start', and ends with | |||
| 553 | 552 | ||
| 554 | (defun pascal-uncomment-area () | 553 | (defun pascal-uncomment-area () |
| 555 | "Uncomment a commented area; change deformed comments back to normal. | 554 | "Uncomment a commented area; change deformed comments back to normal. |
| 556 | This command does nothing if the pointer is not in a commented | 555 | This command does nothing if the pointer is not in a commented area. |
| 557 | area. See also `pascal-comment-area'." | 556 | See also `pascal-comment-area'." |
| 558 | (interactive) | 557 | (interactive) |
| 559 | (save-excursion | 558 | (save-excursion |
| 560 | (let ((start (point)) | 559 | (let ((start (point)) |
| @@ -938,7 +937,7 @@ Return a list of two elements: (INDENT-TYPE INDENT-LEVEL)." | |||
| 938 | 937 | ||
| 939 | (defun pascal-indent-level () | 938 | (defun pascal-indent-level () |
| 940 | "Return the indent-level the current statement has. | 939 | "Return the indent-level the current statement has. |
| 941 | Do not count labels, case-statements or records." | 940 | Do not count labels, case statements or records." |
| 942 | (save-excursion | 941 | (save-excursion |
| 943 | (beginning-of-line) | 942 | (beginning-of-line) |
| 944 | (if (looking-at "[ \t]*[0-9a-zA-Z]+[ \t]*:[^=]") | 943 | (if (looking-at "[ \t]*[0-9a-zA-Z]+[ \t]*:[^=]") |
| @@ -995,7 +994,7 @@ Do not count labels, case-statements or records." | |||
| 995 | 994 | ||
| 996 | (defun pascal-indent-paramlist (&optional arg) | 995 | (defun pascal-indent-paramlist (&optional arg) |
| 997 | "Indent current line in parameterlist. | 996 | "Indent current line in parameterlist. |
| 998 | If optional arg is non-nil, just return the | 997 | If optional ARG is non-nil, just return the |
| 999 | indent of the current line in parameterlist." | 998 | indent of the current line in parameterlist." |
| 1000 | (save-excursion | 999 | (save-excursion |
| 1001 | (let* ((oldpos (point)) | 1000 | (let* ((oldpos (point)) |
| @@ -1414,7 +1413,7 @@ and disable it otherwise. If called from Lisp, enable the mode | |||
| 1414 | if ARG is omitted or nil. | 1413 | if ARG is omitted or nil. |
| 1415 | 1414 | ||
| 1416 | When enabled, portions of the text being edited may be made | 1415 | When enabled, portions of the text being edited may be made |
| 1417 | invisible. \\<pascal-outline-map> | 1416 | invisible.\\<pascal-outline-map> |
| 1418 | 1417 | ||
| 1419 | Pascal Outline mode provides some additional commands. | 1418 | Pascal Outline mode provides some additional commands. |
| 1420 | 1419 | ||
| @@ -1428,7 +1427,7 @@ Pascal Outline mode provides some additional commands. | |||
| 1428 | \\[pascal-show-all]\t- Show the whole buffer. | 1427 | \\[pascal-show-all]\t- Show the whole buffer. |
| 1429 | \\[pascal-hide-other-defuns]\ | 1428 | \\[pascal-hide-other-defuns]\ |
| 1430 | \t- Hide everything but the current function (function under the cursor). | 1429 | \t- Hide everything but the current function (function under the cursor). |
| 1431 | \\[pascal-outline]\t- Leave pascal-outline-mode." | 1430 | \\[pascal-outline]\t- Leave Pascal Outline mode." |
| 1432 | :init-value nil :lighter " Outl" :keymap pascal-outline-map | 1431 | :init-value nil :lighter " Outl" :keymap pascal-outline-map |
| 1433 | (add-to-invisibility-spec '(pascal . t)) | 1432 | (add-to-invisibility-spec '(pascal . t)) |
| 1434 | (unless pascal-outline-mode | 1433 | (unless pascal-outline-mode |