diff options
| -rw-r--r-- | lisp/progmodes/icon.el | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/progmodes/icon.el b/lisp/progmodes/icon.el index ccebcb3789b..571066043f5 100644 --- a/lisp/progmodes/icon.el +++ b/lisp/progmodes/icon.el | |||
| @@ -295,8 +295,6 @@ Return the amount the indentation changed by." | |||
| 295 | (setq beg (point)) | 295 | (setq beg (point)) |
| 296 | (cond ((eq indent nil) | 296 | (cond ((eq indent nil) |
| 297 | (setq indent (current-indentation))) | 297 | (setq indent (current-indentation))) |
| 298 | ((eq indent t) | ||
| 299 | (setq indent (calculate-icon-indent-within-comment))) | ||
| 300 | ((looking-at "[ \t]*#") | 298 | ((looking-at "[ \t]*#") |
| 301 | (setq indent 0)) | 299 | (setq indent 0)) |
| 302 | (t | 300 | (t |
| @@ -618,7 +616,7 @@ Returns nil if line starts inside a string, t if in a comment." | |||
| 618 | (eval-when-compile | 616 | (eval-when-compile |
| 619 | (list | 617 | (list |
| 620 | ;; Fontify procedure name definitions. | 618 | ;; Fontify procedure name definitions. |
| 621 | '("^[ \t]*\\(procedure\\)[ \t]*\\(\\sw+\\)[ \t]*(" | 619 | '("^[ \t]*\\(procedure\\)\\>[ \t]*\\(\\sw+\\)?" |
| 622 | (1 font-lock-builtin-face) (2 font-lock-function-name-face nil t)))) | 620 | (1 font-lock-builtin-face) (2 font-lock-function-name-face nil t)))) |
| 623 | "Subdued level highlighting for Icon mode.") | 621 | "Subdued level highlighting for Icon mode.") |
| 624 | 622 | ||
| @@ -674,7 +672,7 @@ Returns nil if line starts inside a string, t if in a comment." | |||
| 674 | font-lock-function-name-face | 672 | font-lock-function-name-face |
| 675 | font-lock-variable-name-face))))) | 673 | font-lock-variable-name-face))))) |
| 676 | 674 | ||
| 677 | (cons ;; $define $elif $ifdef $ifdef $ifndef | 675 | (cons ;; $define $elif $ifdef $ifndef $undef |
| 678 | (concat "^" | 676 | (concat "^" |
| 679 | (regexp-opt'("$define" "$elif" "$ifdef" "$ifndef" "$undef") t) | 677 | (regexp-opt'("$define" "$elif" "$ifdef" "$ifndef" "$undef") t) |
| 680 | "\\>[ \t]*\\([^ \t\n]+\\)?") | 678 | "\\>[ \t]*\\([^ \t\n]+\\)?") |