aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorJoakim Verona2011-09-19 11:37:46 +0200
committerJoakim Verona2011-09-19 11:37:46 +0200
commit4caed0bee59613be5d2a6c4afabcdc43222f953e (patch)
treed0c1debf666ef2107492e6cdd2bc8d6bb17de8a2 /lisp/progmodes
parentc139d20a0c582a2c8fe3766128092c32b692ac23 (diff)
parentc5b01d8c63cfd14c95a029540a6fb0da84537726 (diff)
downloademacs-4caed0bee59613be5d2a6c4afabcdc43222f953e.tar.gz
emacs-4caed0bee59613be5d2a6c4afabcdc43222f953e.zip
upstream
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/cc-fonts.el2
-rw-r--r--lisp/progmodes/etags.el4
-rw-r--r--lisp/progmodes/grep.el2
3 files changed, 5 insertions, 3 deletions
diff --git a/lisp/progmodes/cc-fonts.el b/lisp/progmodes/cc-fonts.el
index 1178a8a0b7e..fd817e3b4f4 100644
--- a/lisp/progmodes/cc-fonts.el
+++ b/lisp/progmodes/cc-fonts.el
@@ -290,7 +290,7 @@
290 res)))) 290 res))))
291 291
292 (defun c-make-font-lock-search-form (regexp highlights) 292 (defun c-make-font-lock-search-form (regexp highlights)
293 ;; Return a lisp form which will fontify every occurence of REGEXP 293 ;; Return a lisp form which will fontify every occurrence of REGEXP
294 ;; (a regular expression, NOT a function) between POINT and `limit' 294 ;; (a regular expression, NOT a function) between POINT and `limit'
295 ;; with HIGHLIGHTS, a list of highlighters as specified on page 295 ;; with HIGHLIGHTS, a list of highlighters as specified on page
296 ;; "Search-based Fontification" in the elisp manual. 296 ;; "Search-based Fontification" in the elisp manual.
diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el
index a3300077909..d321e9c1388 100644
--- a/lisp/progmodes/etags.el
+++ b/lisp/progmodes/etags.el
@@ -2070,7 +2070,9 @@ for \\[find-tag] (which see)."
2070 (let ((comp-data (tags-completion-at-point-function))) 2070 (let ((comp-data (tags-completion-at-point-function)))
2071 (if (null comp-data) 2071 (if (null comp-data)
2072 (error "Nothing to complete") 2072 (error "Nothing to complete")
2073 (apply 'completion-in-region comp-data)))) 2073 (completion-in-region (car comp-data) (cadr comp-data)
2074 (nth 2 comp-data)
2075 (plist-get (nthcdr 3 comp-data) :predicate)))))
2074 2076
2075(dolist (x '("^No tags table in use; use .* to select one$" 2077(dolist (x '("^No tags table in use; use .* to select one$"
2076 "^There is no default tag$" 2078 "^There is no default tag$"
diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el
index 000243b05df..2c68a29dd00 100644
--- a/lisp/progmodes/grep.el
+++ b/lisp/progmodes/grep.el
@@ -476,7 +476,7 @@ Set up `compilation-exit-message-function' and run `grep-setup-hook'."
476 ;; so the buffer is still unmodified if there is no output. 476 ;; so the buffer is still unmodified if there is no output.
477 (cond ((and (zerop code) (buffer-modified-p)) 477 (cond ((and (zerop code) (buffer-modified-p))
478 '("finished (matches found)\n" . "matched")) 478 '("finished (matches found)\n" . "matched"))
479 ((or (= code 1) (not (buffer-modified-p))) 479 ((not (buffer-modified-p))
480 '("finished with no matches found\n" . "no match")) 480 '("finished with no matches found\n" . "no match"))
481 (t 481 (t
482 (cons msg code))) 482 (cons msg code)))