summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/init-ido.el2
-rw-r--r--lisp/init-org.el8
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'."