diff options
author | Kyle Meyer <kyle@kyleam.com> | 2014-10-25 00:17:59 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2014-10-25 00:17:59 -0400 |
commit | 525f5b95ceee9ff6b742a31baf9a19253a27803c (patch) | |
tree | 323235ab5f6ec532ee11a773ebc430f507b183c7 /lisp | |
parent | ff8269cf86bc121b01bdd7bd765c932e836fdff6 (diff) | |
download | emacs.d-525f5b95ceee9ff6b742a31baf9a19253a27803c.tar.gz |
Don't ignore PDFs in completions
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/init-ido.el | 2 | ||||
-rw-r--r-- | lisp/init-org.el | 8 |
2 files changed, 3 insertions, 7 deletions
diff --git a/lisp/init-ido.el b/lisp/init-ido.el index da40bd3..78f6140 100644 --- a/lisp/init-ido.el +++ b/lisp/init-ido.el @@ -23,7 +23,7 @@ '(".org" ".txt" ".md" ".rst" ".tex" ".py" ".el" ".hs")) (setq completion-ignored-extensions - (append '(".pdf" ".out" ".log" ".fls" ".fdb" ".fdb_latexmk") + (append '(".out" ".log" ".fls" ".fdb" ".fdb_latexmk") completion-ignored-extensions)) ;; Disable ido faces to see flx highlights. diff --git a/lisp/init-org.el b/lisp/init-org.el index a51f17a..4f3e2bc 100644 --- a/lisp/init-org.el +++ b/lisp/init-org.el @@ -50,13 +50,9 @@ (user-error "No file at point")))) (defun km/org-open-file () - "Interactive version of `org-open-file'. -The value of `completion-ignored-extensions' is modified so that -PDF files are not ignored." + "Interactive version of `org-open-file'." (interactive) - (let ((completion-ignored-extensions - (remove ".pdf" completion-ignored-extensions))) - (org-open-file (read-file-name "Open file: " nil nil t)))) + (org-open-file (read-file-name "Open file: " nil nil t))) (defun km/org-open-annex-file () "Open a git annex file with `org-open-file'." |